package com.whiteops.sdk;

import android.annotation.SuppressLint;
import android.app.Application;
import android.app.KeyguardManager;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageManager;
import android.media.AudioManager;
import android.net.wifi.WifiManager;
import android.os.Build;
import android.os.PowerManager;
import android.telephony.TelephonyManager;
import android.util.Base64;
import com.google.android.exoplayer2.extractor.ts.TsExtractor;
import com.google.android.exoplayer2.util.MimeTypes;
import java.net.URL;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.UUID;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;

public final class WOInspector {
    private static final a A = new a(3, "APP_FOREGROUND", 2);
    private static final a B = new a(4, "OPEN_GLES_VERSION", 2);
    private static final a C = new a(5, "APP_DEBUGGABLE", 2);
    private static final a D = new a(6, "PROCESSORS", 1);
    private static final a E = new a(7, "ACTIVITIES", 1);
    private static final a F = new a(8, "PERSISTENT", 2);
    private static final a G = new a(9, "TOTAL_MEMORY", 2);
    private static final a H = new a(10, "MANIFEST_PERMISSIONS", 1);
    private static final a I = new a(11, "DEVICE_LOCKED", 2);
    private static final a J = new a(12, "KEYGUARD_LOCKED", 2);
    private static final a K = new a(13, "DEVICE_SECURE", 2);
    private static final a L = new a(14, "KEYGUARD_SECURE", 2);
    private static final a M = new a(15, "NETWORK_TYPE", 2);
    private static final a N = new a(16, "SIM_OPERATOR_NAME", 1);
    private static final a O = new a(17, "PHONE_TYPE", 1);
    private static final a P = new a(18, "NETWORK_OPERATOR", 2);
    private static final a Q = new a(19, "NETWORK_OPERATOR_NAME", 2);
    private static final a R = new a(20, "SIM_COUNTRY", 2);
    private static final a S = new a(21, "MOBILE_DATA_ENABLED", 2);
    private static final a T = new a(22, "ACCESSIBILITY_SERVICES_ENABLED", 2);
    private static final a U = new a(23, "ADB_ENABLED", 2);
    private static final a V = new a(24, "CURRENT_BRIGHTNESS", 2);
    private static final a W = new a(25, "SCREEN_OFF_TIMEOUT", 2);
    private static final a X = new a(26, "BOOT_COUNT", 1);
    private static final a Y = new a(28, "APP_INSTALL_DATE", 1);
    private static final a Z = new a(29, "TOUCHSCREEN_MULTITOUCH", 1);
    static String a = null;
    private static final a aA = new a(56, "STREAM_MUSIC", 2);
    private static final a aB = new a(57, "STREAM_RING", 2);
    private static final a aC = new a(58, "STREAM_DTMF", 2);
    private static final a aD = new a(59, "STREAM_VOICE_CALL", 2);
    private static final a aE = new a(60, "STREAM_ALARM", 2);
    private static final a aF = new a(61, "WIRED_HEADSET", 2);
    private static final a aG = new a(62, "MUSIC_ACTIVE", 2);
    private static final a aH = new a(63, "SPEAKERPHONE", 2);
    private static final a aI = new a(64, "AUDIO_DEVICES", 2);
    private static final a aJ = new a(65, "WIFI_SSID", 2);
    private static final a aK = new a(66, "WIFI_STATE", 2);
    private static final a aL = new a(68, "DISPLAY_INTERACTIVE", 2);
    private static final a aM = new a(69, "DEVICE_IDLE", 2);
    private static final a aN = new a(70, "POWER_SAFE_MODE", 2);
    private static final a aO = new a(71, "BUILD_SERIAL", 1);
    private static final a aP = new a(72, "BUILD_BRAND", 1);
    private static final a aQ = new a(73, "BUILD_BOARD", 1);
    private static final a aR = new a(74, "BUILD_BOOTLOADER", 1);
    private static final a aS = new a(75, "BUILD_MANUFACTURER", 1);
    private static final a aT = new a(76, "BUILD_MODEL", 1);
    private static final a aU = new a(77, "BUILD_HOST", 1);
    private static final a aV = new a(78, "BUILD_HARDWARE", 1);
    private static final a aW = new a(79, "BUILD_DEVICE", 1);
    private static final a aX = new a(80, "BUILD_PRINT", 1);
    private static final a aY = new a(81, "BUILD_DISPLAY", 1);
    private static final a aZ = new a(82, "BUILD_USER", 1);
    private static final a aa = new a(30, "TOUCHSCREEN_MULTITOUCH_DISTINCT", 1);
    private static final a ab = new a(31, "TOUCHSCREEN_MULTITOUCH_JAZZHAND", 1);
    private static final a ac = new a(32, "CAMERA_REAR", 1);
    private static final a ad = new a(33, "CAMERA_FRONT", 1);
    private static final a ae = new a(34, "CAMERA_FLASH", 1);
    private static final a af = new a(35, "SENSOR_ACCELEROMETER", 1);
    private static final a ag = new a(36, "SENSOR_STEP_COUNT", 1);
    private static final a ah = new a(37, "SENSOR_BAROMETER", 1);
    private static final a ai = new a(38, "SENSOR_GYRO", 1);
    private static final a aj = new a(39, "SENSOR_COMPASS", 1);
    private static final a ak = new a(40, "SENSOR_HEART", 1);
    private static final a al = new a(41, "SENSOR_STEP_DETECTOR", 1);
    private static final a am = new a(42, "SENSOR_PROXIMITY", 1);
    private static final a an = new a(43, "SENSOR_AMBIENT_TEMPERATURE", 1);
    private static final a ao = new a(44, "PLAYSTORE_APP_INSTALLATION", 1);
    private static final a ap = new a(45, "APP_INSTALLER_PACKAGE_NAME", 1);
    private static final a aq = new a(46, "BLUETOOTH_ENABLED", 2);
    private static final a ar = new a(47, "BLUETOOTH_PRESENT", 1);
    private static final a as = new a(48, "BLUETOOTH_LE_PRESENT", 1);
    private static final a at = new a(49, "DEVELOPER_MODE_ENABLED", 2);
    private static final a au = new a(50, "STAY_ON_WHILE_PLUGGEDIN", 2);
    private static final a av = new a(51, "WIFI_ENABLED", 2);
    private static final a aw = new a(52, "USB_MASS_STORAGE_ENABLED", 2);
    private static final a ax = new a(53, "INSTALL_NON_MARKET_APPS_ENABLED", 2);
    private static final a ay = new a(54, "STREAM_SYSTEM", 2);
    private static final a az = new a(55, "STREAM_NOTIFICATION", 2);
    static JSONObject b = null;
    private static final a bA = new a(122, "APP_PUBLIC_PATH", 1);
    private static final a bB = new a(123, "BUILD_CODENAME", 1);
    private static final a bC = new a(124, "BUILD_RELEASE", 1);
    private static final a bD = new a(125, "BUILD_SDK_INT", 1);
    private static final a bE = new a(126, "BUILD_SECURITY_PATCH", 2);
    private static final a bF = new a(127, "BUILD_BASE_OS", 1);
    private static final a bG = new a(128, "SYSTEM_OS_ARCHITECTURE", 1);
    private static final a bH = new a(TsExtractor.TS_STREAM_TYPE_AC3, "SYSTEM_OS_NAME", 1);
    private static final a bI = new a(TsExtractor.TS_STREAM_TYPE_HDMV_DTS, "SYSTEM_OS_VERSION", 1);
    private static final a bJ = new a(131, "WIFI_PRESENT", 1);
    private static final a bK = new a(132, "TELEPHONY_PRESENT", 1);
    private static final a bL = new a(133, "TOUCHSCREEN", 1);
    private static final a bM = new a(TsExtractor.TS_STREAM_TYPE_SPLICE_INFO, "TOUCHSCREEN_FAKETOUCH_SUPPORT", 1);
    private static final a bN = new a(TsExtractor.TS_STREAM_TYPE_E_AC3, "TOUCHSCREEN_FAKETOUCH_MULTITOUCH_DISTINCT", 1);
    private static final a bO = new a(136, "TOUCHSCREEN_FAKETOUCH_MULTITOUCH_JAZZHAND", 1);
    private static final a bP = new a(137, "SENSOR_HIFI", 1);
    private static final a bQ = new a(TsExtractor.TS_STREAM_TYPE_DTS, "TELEPHONY_CDMA_PRESENT", 1);
    private static final a bR = new a(139, "TELEPHONY_GSM_PRESENT", 1);
    private static final a bS = new a(140, "TELEVISION", 1);
    private static final a bT = new a(141, "PRINTING", 1);
    private static final a bU = new a(142, "WATCH", 1);
    private static final a bV = new a(143, "GAMEPAD", 1);
    private static final a bW = new a(144, "LIVE_TV", 1);
    private static final a bX = new a(145, "AUTOMOTIVE", 1);
    private static final a bY = new a(146, "EMBEDDED", 1);
    private static final a bZ = new a(147, "SCREEN_PORTRAIT", 1);
    private static final a ba = new a(83, "BUILD_PRODUCT", 1);
    private static final a bb = new a(84, "BUILD_TAGS", 1);
    private static final a bc = new a(85, "BUILD_TIME", 1);
    private static final a bd = new a(86, "BUILD_RADIO", 1);
    private static final a be = new a(87, "BUILD_ID", 1);
    private static final a bf = new a(88, "BUILD_TYPE", 1);
    private static final a bg = new a(89, "UPTIME", 2);
    private static final a bh = new a(90, "EMULATOR_PROPERTIES", 1);
    private static final a bi = new a(91, "APP_PACKAGE_NAME", 1);
    private static final a bj = new a(105, "BATTERY_STATUS", 2);
    private static final a bk = new a(106, "BATTERY_PLUGGED", 2);
    private static final a bl = new a(107, "BATTERY_PERCENTAGE", 2);
    private static final a bm = new a(108, "BATTERY_PRESENT", 1);
    private static final a bn = new a(109, "BATTERY_HEALTH", 2);
    private static final a bo = new a(110, "BATTERY_TEMPERATURE", 2);
    private static final a bp = new a(111, "BATTERY_CURRENT_NOW", 2);
    private static final a bq = new a(112, "HTTP_PROXY_HOST", 2);
    private static final a br = new a(113, "HTTP_PROXY_PORT", 2);
    private static final a bs = new a(114, "HTTP_PROXY_USER", 2);
    private static final a bt = new a(115, "HTTP_PROXY_NON_PROXY_HOST", 2);
    private static final a bu = new a(116, "HTTP_USER_AGENT", 1);
    private static final a bv = new a(117, "SOCKS_PROXY_HOST", 2);
    private static final a bw = new a(118, "SOCKS_PROXY_PORT", 2);
    private static final a bx = new a(119, "SOCKS_PROXY_VERSION", 2);
    private static final a by = new a(120, "SOCKS_PROXY_USER", 2);
    private static final a bz = new a(121, "APP_SIZE", 1);
    static String c = "https://s.update.fbsbx.com/bridge.html";
    private static final a cA = new a(174, "DISPLAY_X_DPI", 1);
    private static final a cB = new a(175, "DISPLAY_Y_DPI", 1);
    private static final a cC = new a(176, "NETWORKS", 2);
    private static final a cD = new a(177, "LOCALE_LANGUAGE", 1);
    private static final a cE = new a(178, "LOCALE_COUNTRY", 1);
    private static final a cF = new a(179, "LOCALE_NAME", 1);
    private static final a cG = new a(180, "WO_SSID", 1);
    private static final a cH = new a(181, "WO_SDK_VERSION", 1);
    private static final a ca = new a(148, "SCREEN_LANDSCAPE", 1);
    private static final a cb = new a(149, "ACTIVITIES_ON_SECONDARY_DISPLAYS", 1);
    private static final a cc = new a(150, "NFC", 1);
    private static final a cd = new a(151, "USB_HOST", 1);
    private static final a ce = new a(152, "WIFI_DIRECT", 1);
    private static final a cf = new a(153, "ETHERNET", 1);
    private static final a cg = new a(154, "APP_WIDGETS", 1);
    private static final a ch = new a(155, "OPENGLES", 1);
    private static final a ci = new a(156, "MICROPHONE", 1);
    private static final a cj = new a(157, "DACTYLOGRAM", 1);
    private static final a ck = new a(158, "SIM_STATE", 1);
    private static final a cl = new a(159, "APP_FLAGS", 2);
    private static final a cm = new a(160, "APP_LAST_UPDATE", 1);
    private static final a cn = new a(161, "PACK_VERSION_CODE", 1);
    private static final a co = new a(162, "RINGER_MODE", 2);
    private static final a cp = new a(163, "TIME_ZONE", 2);
    private static final a cq = new a(164, "TIME_ZONE_NAME", 2);
    private static final a cr = new a(165, "NETWORK_INTERFACES", 2);
    private static final a cs = new a(166, "TOTAL_BYTES_RX", 2);
    private static final a ct = new a(167, "TOTAL_BYTES_TX", 2);
    private static final a cu = new a(168, "MOBILE_BYTES_RX", 2);
    private static final a cv = new a(169, "MOBILE_BYTES_TX", 2);
    private static final a cw = new a(170, "DISPLAY_DENSITY", 2);
    private static final a cx = new a(171, "DISPLAY_DENSITY_DPI", 1);
    private static final a cy = new a(172, "DISPLAY_HEIGHT_PIXELS", 1);
    private static final a cz = new a(173, "DISPLAY_WIDTH_PIXELS", 1);
    static String d = "";
    @SuppressLint({"StaticFieldLeak"})
    static Context e = null;
    static String f = null;
    static d g = null;
    private static final int h = Build.VERSION.SDK_INT;
    private static c i = new c();
    private static boolean j = false;
    private static boolean k;
    private static boolean l;
    private static boolean m;
    private static boolean n;
    private static AudioManager o;
    private static PowerManager p;
    private static TelephonyManager q;
    private static WifiManager r;
    private static ApplicationInfo s;
    private static PackageManager t;
    private static KeyguardManager u;
    /* access modifiers changed from: private */
    public static JSONObject v = new JSONObject();
    /* access modifiers changed from: private */
    public static LinkedList<JSONObject> w = new LinkedList<>();
    /* access modifiers changed from: private */
    public static JSONObject x = new JSONObject();
    private static final a y = new a(1, "APP_IMPORTANCE", 2);
    private static final a z = new a(2, "APP_VISIBLE", 2);

    static void a() {
        new Thread(new Runnable() {
            public final void run() {
                WOInspector.b();
                try {
                    Iterator<String> keys = WOInspector.x.keys();
                    while (keys.hasNext()) {
                        String next = keys.next();
                        JSONObject jSONObject = (JSONObject) WOInspector.x.get(next);
                        int i = jSONObject.getInt("signalType");
                        jSONObject.remove("signalType");
                        if ((i & 1) == 1) {
                            WOInspector.v.put(next, jSONObject);
                        } else if ((i & 2) == 2) {
                            try {
                                JSONObject jSONObject2 = new JSONObject();
                                jSONObject2.put(next, jSONObject);
                                WOInspector.w.add(jSONObject2);
                            } catch (JSONException unused) {
                            }
                        }
                    }
                } catch (JSONException e) {
                    new StringBuilder(" JSONException: ").append(e.getMessage());
                }
                JSONObject jSONObject3 = new JSONObject();
                JSONObject jSONObject4 = new JSONObject();
                try {
                    jSONObject4.put("TYPE", "AUTO");
                    jSONObject4.put("PROXY_ORIGIN", WOInspector.d);
                    jSONObject3.put("CI", WOInspector.a);
                    jSONObject3.put("ID", WOInspector.f);
                    jSONObject3.put("DECISION_EVENT", jSONObject4);
                    jSONObject3.put("CT", WOInspector.b);
                } catch (JSONException unused2) {
                }
                JSONObject jSONObject5 = new JSONObject();
                JSONArray jSONArray = new JSONArray();
                JSONObject jSONObject6 = new JSONObject();
                try {
                    jSONObject5.put("TOUCH_SIG", new JSONArray());
                    jSONObject5.put("STATIC_SIG", WOInspector.v);
                    Iterator it = WOInspector.w.iterator();
                    while (it.hasNext()) {
                        jSONArray.put(it.next());
                    }
                    jSONObject5.put("DYNAMIC_SIG", jSONArray);
                    Iterator<String> keys2 = jSONObject3.keys();
                    while (keys2.hasNext()) {
                        String next2 = keys2.next();
                        jSONObject6.put(next2, jSONObject3.get(next2));
                    }
                    jSONObject6.put("DATA", jSONObject5);
                    WOInspector.g.a(jSONObject6.toString());
                } catch (JSONException unused3) {
                }
            }
        }).start();
    }

    private static void a(a aVar, Object obj) {
        JSONObject jSONObject = new JSONObject();
        try {
            jSONObject.put("signalType", aVar.c);
            jSONObject.put("v", obj);
            jSONObject.put("t", System.currentTimeMillis());
            x.put(aVar.b, jSONObject);
        } catch (JSONException unused) {
        }
    }

    static void a(String str, String str2, String str3) {
        JSONObject jSONObject;
        if (str3 != null) {
            try {
                if (!str3.equals("")) {
                    jSONObject = new JSONObject(str3);
                    new Thread(new Runnable(str, str2, jSONObject) {
                        final /* synthetic */ String a;
                        final /* synthetic */ String b;
                        final /* synthetic */ JSONObject c;
                        final /* synthetic */ String d = null;

                        {
                            this.a = r2;
                            this.b = r3;
                            this.c = r4;
                        }

                        /* JADX WARNING: Removed duplicated region for block: B:24:0x007e  */
                        /* JADX WARNING: Removed duplicated region for block: B:28:0x0084  */
                        /* JADX WARNING: Removed duplicated region for block: B:32:? A[RETURN, SYNTHETIC] */
                        /* Code decompiled incorrectly, please refer to instructions dump. */
                        public final void run() {
                            /*
                                r6 = this;
                                r0 = 0
                                java.net.URL r1 = new java.net.URL     // Catch:{ Exception -> 0x0082, all -> 0x0078 }
                                java.lang.String r2 = r6.a     // Catch:{ Exception -> 0x0082, all -> 0x0078 }
                                r1.<init>(r2)     // Catch:{ Exception -> 0x0082, all -> 0x0078 }
                                java.net.URLConnection r1 = r1.openConnection()     // Catch:{ Exception -> 0x0082, all -> 0x0078 }
                                javax.net.ssl.HttpsURLConnection r1 = (javax.net.ssl.HttpsURLConnection) r1     // Catch:{ Exception -> 0x0082, all -> 0x0078 }
                                r0 = 15000(0x3a98, float:2.102E-41)
                                r1.setReadTimeout(r0)     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                                r1.setConnectTimeout(r0)     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                                java.lang.String r0 = r6.b     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                                r1.setRequestMethod(r0)     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                                org.json.JSONObject r0 = r6.c     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                                if (r0 == 0) goto L_0x003b
                                org.json.JSONObject r0 = r6.c     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                                java.util.Iterator r0 = r0.keys()     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                            L_0x0025:
                                boolean r2 = r0.hasNext()     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                                if (r2 == 0) goto L_0x003b
                                java.lang.Object r2 = r0.next()     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                                java.lang.String r2 = (java.lang.String) r2     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                                org.json.JSONObject r3 = r6.c     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                                java.lang.String r3 = r3.getString(r2)     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                                r1.setRequestProperty(r2, r3)     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                                goto L_0x0025
                            L_0x003b:
                                r0 = 0
                                r1.setDoOutput(r0)     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                                java.lang.String r0 = r6.d     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                                if (r0 == 0) goto L_0x006b
                                r0 = 1
                                r1.setDoInput(r0)     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                                java.io.OutputStream r0 = r1.getOutputStream()     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                                java.io.BufferedWriter r2 = new java.io.BufferedWriter     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                                java.io.OutputStreamWriter r3 = new java.io.OutputStreamWriter     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                                java.lang.String r4 = "UTF-8"
                                r3.<init>(r0, r4)     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                                r2.<init>(r3)     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                                java.lang.String r3 = r6.d     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                                java.lang.String r4 = "UTF-8"
                                java.lang.String r3 = java.net.URLEncoder.encode(r3, r4)     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                                r2.write(r3)     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                                r2.flush()     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                                r2.close()     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                                r0.close()     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                            L_0x006b:
                                r1.getResponseCode()     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                                if (r1 == 0) goto L_0x0087
                                r1.disconnect()
                                return
                            L_0x0074:
                                r0 = move-exception
                                goto L_0x007c
                            L_0x0076:
                                r0 = r1
                                goto L_0x0082
                            L_0x0078:
                                r1 = move-exception
                                r5 = r1
                                r1 = r0
                                r0 = r5
                            L_0x007c:
                                if (r1 == 0) goto L_0x0081
                                r1.disconnect()
                            L_0x0081:
                                throw r0
                            L_0x0082:
                                if (r0 == 0) goto L_0x0087
                                r0.disconnect()
                            L_0x0087:
                                return
                            */
                            throw new UnsupportedOperationException("Method not decompiled: com.whiteops.sdk.c.AnonymousClass1.run():void");
                        }
                    }).start();
                }
            } catch (JSONException unused) {
                return;
            }
        }
        jSONObject = new JSONObject();
        new Thread(new Runnable(str, str2, jSONObject) {
            final /* synthetic */ String a;
            final /* synthetic */ String b;
            final /* synthetic */ JSONObject c;
            final /* synthetic */ String d = null;

            {
                this.a = r2;
                this.b = r3;
                this.c = r4;
            }

            /* Code decompiled incorrectly, please refer to instructions dump. */
            public final void run() {
                /*
                    r6 = this;
                    r0 = 0
                    java.net.URL r1 = new java.net.URL     // Catch:{ Exception -> 0x0082, all -> 0x0078 }
                    java.lang.String r2 = r6.a     // Catch:{ Exception -> 0x0082, all -> 0x0078 }
                    r1.<init>(r2)     // Catch:{ Exception -> 0x0082, all -> 0x0078 }
                    java.net.URLConnection r1 = r1.openConnection()     // Catch:{ Exception -> 0x0082, all -> 0x0078 }
                    javax.net.ssl.HttpsURLConnection r1 = (javax.net.ssl.HttpsURLConnection) r1     // Catch:{ Exception -> 0x0082, all -> 0x0078 }
                    r0 = 15000(0x3a98, float:2.102E-41)
                    r1.setReadTimeout(r0)     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                    r1.setConnectTimeout(r0)     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                    java.lang.String r0 = r6.b     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                    r1.setRequestMethod(r0)     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                    org.json.JSONObject r0 = r6.c     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                    if (r0 == 0) goto L_0x003b
                    org.json.JSONObject r0 = r6.c     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                    java.util.Iterator r0 = r0.keys()     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                L_0x0025:
                    boolean r2 = r0.hasNext()     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                    if (r2 == 0) goto L_0x003b
                    java.lang.Object r2 = r0.next()     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                    java.lang.String r2 = (java.lang.String) r2     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                    org.json.JSONObject r3 = r6.c     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                    java.lang.String r3 = r3.getString(r2)     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                    r1.setRequestProperty(r2, r3)     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                    goto L_0x0025
                L_0x003b:
                    r0 = 0
                    r1.setDoOutput(r0)     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                    java.lang.String r0 = r6.d     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                    if (r0 == 0) goto L_0x006b
                    r0 = 1
                    r1.setDoInput(r0)     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                    java.io.OutputStream r0 = r1.getOutputStream()     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                    java.io.BufferedWriter r2 = new java.io.BufferedWriter     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                    java.io.OutputStreamWriter r3 = new java.io.OutputStreamWriter     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                    java.lang.String r4 = "UTF-8"
                    r3.<init>(r0, r4)     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                    r2.<init>(r3)     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                    java.lang.String r3 = r6.d     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                    java.lang.String r4 = "UTF-8"
                    java.lang.String r3 = java.net.URLEncoder.encode(r3, r4)     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                    r2.write(r3)     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                    r2.flush()     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                    r2.close()     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                    r0.close()     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                L_0x006b:
                    r1.getResponseCode()     // Catch:{ Exception -> 0x0076, all -> 0x0074 }
                    if (r1 == 0) goto L_0x0087
                    r1.disconnect()
                    return
                L_0x0074:
                    r0 = move-exception
                    goto L_0x007c
                L_0x0076:
                    r0 = r1
                    goto L_0x0082
                L_0x0078:
                    r1 = move-exception
                    r5 = r1
                    r1 = r0
                    r0 = r5
                L_0x007c:
                    if (r1 == 0) goto L_0x0081
                    r1.disconnect()
                L_0x0081:
                    throw r0
                L_0x0082:
                    if (r0 == 0) goto L_0x0087
                    r0.disconnect()
                L_0x0087:
                    return
                */
                throw new UnsupportedOperationException("Method not decompiled: com.whiteops.sdk.c.AnonymousClass1.run():void");
            }
        }).start();
    }

    /* JADX WARNING: Removed duplicated region for block: B:102:0x0439  */
    /* JADX WARNING: Removed duplicated region for block: B:112:0x048e A[Catch:{ Exception -> 0x04bc }] */
    /* JADX WARNING: Removed duplicated region for block: B:113:0x0497 A[Catch:{ Exception -> 0x04bc }] */
    /* JADX WARNING: Removed duplicated region for block: B:115:0x049a A[Catch:{ Exception -> 0x04bc }] */
    /* JADX WARNING: Removed duplicated region for block: B:122:0x04ac A[Catch:{ Exception -> 0x04bc }] */
    /* JADX WARNING: Removed duplicated region for block: B:126:0x04ba  */
    /* JADX WARNING: Removed duplicated region for block: B:141:0x05b8  */
    /* JADX WARNING: Removed duplicated region for block: B:150:0x0610  */
    /* JADX WARNING: Removed duplicated region for block: B:155:0x0639 A[Catch:{ SocketException | JSONException -> 0x06da }, LOOP:2: B:155:0x0639->B:379:0x0639, LOOP_START, PHI: r1 
      PHI: (r1v251 java.lang.String) = (r1v42 java.lang.String), (r1v253 java.lang.String) binds: [B:154:0x0637, B:379:0x0639] A[DONT_GENERATE, DONT_INLINE]] */
    /* JADX WARNING: Removed duplicated region for block: B:176:0x06d2 A[Catch:{ SocketException | JSONException -> 0x06da }] */
    /* JADX WARNING: Removed duplicated region for block: B:187:0x0706 A[Catch:{ Exception -> 0x0719 }] */
    /* JADX WARNING: Removed duplicated region for block: B:198:0x072c  */
    /* JADX WARNING: Removed duplicated region for block: B:204:0x0742  */
    /* JADX WARNING: Removed duplicated region for block: B:206:0x074b  */
    /* JADX WARNING: Removed duplicated region for block: B:208:0x076d  */
    /* JADX WARNING: Removed duplicated region for block: B:211:0x08c9  */
    /* JADX WARNING: Removed duplicated region for block: B:213:0x08db  */
    /* JADX WARNING: Removed duplicated region for block: B:230:0x0a44  */
    /* JADX WARNING: Removed duplicated region for block: B:232:0x0a5a  */
    /* JADX WARNING: Removed duplicated region for block: B:235:0x0a65  */
    /* JADX WARNING: Removed duplicated region for block: B:237:0x0a7b  */
    /* JADX WARNING: Removed duplicated region for block: B:240:0x0ab0  */
    /* JADX WARNING: Removed duplicated region for block: B:242:0x0ac6  */
    /* JADX WARNING: Removed duplicated region for block: B:245:0x0b10  */
    /* JADX WARNING: Removed duplicated region for block: B:247:0x0b26  */
    /* JADX WARNING: Removed duplicated region for block: B:250:0x0b85  */
    /* JADX WARNING: Removed duplicated region for block: B:252:0x0b9b  */
    /* JADX WARNING: Removed duplicated region for block: B:255:0x0ba4  */
    /* JADX WARNING: Removed duplicated region for block: B:256:0x0baf  */
    /* JADX WARNING: Removed duplicated region for block: B:259:0x0bc1  */
    /* JADX WARNING: Removed duplicated region for block: B:263:0x0bd9  */
    /* JADX WARNING: Removed duplicated region for block: B:266:0x0be4  */
    /* JADX WARNING: Removed duplicated region for block: B:268:0x0bf4  */
    /* JADX WARNING: Removed duplicated region for block: B:271:0x0c3e A[SYNTHETIC, Splitter:B:271:0x0c3e] */
    /* JADX WARNING: Removed duplicated region for block: B:275:0x0c59  */
    /* JADX WARNING: Removed duplicated region for block: B:279:0x0c88 A[ADDED_TO_REGION] */
    /* JADX WARNING: Removed duplicated region for block: B:284:0x0ce6  */
    /* JADX WARNING: Removed duplicated region for block: B:286:0x0cfc  */
    /* JADX WARNING: Removed duplicated region for block: B:294:0x0dd8  */
    /* JADX WARNING: Removed duplicated region for block: B:296:0x0de8  */
    /* JADX WARNING: Removed duplicated region for block: B:299:0x0df1  */
    /* JADX WARNING: Removed duplicated region for block: B:301:0x0dfd  */
    /* JADX WARNING: Removed duplicated region for block: B:304:0x0e06  */
    /* JADX WARNING: Removed duplicated region for block: B:306:0x0e16  */
    /* JADX WARNING: Removed duplicated region for block: B:309:0x0e1f  */
    /* JADX WARNING: Removed duplicated region for block: B:311:0x0e2b  */
    /* JADX WARNING: Removed duplicated region for block: B:314:0x0e34  */
    /* JADX WARNING: Removed duplicated region for block: B:316:0x0e40  */
    /* JADX WARNING: Removed duplicated region for block: B:319:0x0e49  */
    /* JADX WARNING: Removed duplicated region for block: B:321:0x0e55  */
    /* JADX WARNING: Removed duplicated region for block: B:324:0x0e60  */
    /* JADX WARNING: Removed duplicated region for block: B:333:0x0e84  */
    /* JADX WARNING: Removed duplicated region for block: B:336:0x0e8f  */
    /* JADX WARNING: Removed duplicated region for block: B:338:0x0e9f  */
    /* JADX WARNING: Removed duplicated region for block: B:341:0x0ea8  */
    /* JADX WARNING: Removed duplicated region for block: B:355:0x0ee5  */
    /* JADX WARNING: Removed duplicated region for block: B:359:0x0ef0  */
    /* JADX WARNING: Removed duplicated region for block: B:373:0x0f2d  */
    /* JADX WARNING: Removed duplicated region for block: B:44:0x01ed  */
    /* JADX WARNING: Removed duplicated region for block: B:45:0x01f4  */
    /* JADX WARNING: Removed duplicated region for block: B:48:0x0201  */
    /* JADX WARNING: Removed duplicated region for block: B:57:0x0288  */
    /* JADX WARNING: Removed duplicated region for block: B:61:0x0343  */
    /* JADX WARNING: Removed duplicated region for block: B:63:0x035b  */
    /* JADX WARNING: Removed duplicated region for block: B:66:0x0374  */
    /* JADX WARNING: Removed duplicated region for block: B:68:0x037c  */
    /* JADX WARNING: Removed duplicated region for block: B:71:0x038f  */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    static /* synthetic */ void b() {
        /*
            android.app.ActivityManager$RunningAppProcessInfo r0 = new android.app.ActivityManager$RunningAppProcessInfo
            r0.<init>()
            android.app.ActivityManager.getMyMemoryState(r0)
            com.whiteops.sdk.a r1 = y
            int r2 = r0.importance
            java.lang.Integer r2 = java.lang.Integer.valueOf(r2)
            a(r1, r2)
            com.whiteops.sdk.a r1 = z
            int r2 = r0.importance
            r3 = 100
            r4 = 1
            r5 = 0
            if (r2 == r3) goto L_0x0026
            int r2 = r0.importance
            r6 = 200(0xc8, float:2.8E-43)
            if (r2 != r6) goto L_0x0024
            goto L_0x0026
        L_0x0024:
            r2 = r5
            goto L_0x0027
        L_0x0026:
            r2 = r4
        L_0x0027:
            java.lang.Boolean r2 = java.lang.Boolean.valueOf(r2)
            a(r1, r2)
            com.whiteops.sdk.a r1 = A
            int r0 = r0.importance
            if (r0 != r3) goto L_0x0036
            r0 = r4
            goto L_0x0037
        L_0x0036:
            r0 = r5
        L_0x0037:
            java.lang.Boolean r0 = java.lang.Boolean.valueOf(r0)
            a(r1, r0)
            android.content.Context r0 = e
            java.lang.String r1 = "activity"
            java.lang.Object r0 = r0.getSystemService(r1)
            android.app.ActivityManager r0 = (android.app.ActivityManager) r0
            if (r0 == 0) goto L_0x005a
            android.content.pm.ConfigurationInfo r0 = r0.getDeviceConfigurationInfo()
            if (r0 == 0) goto L_0x005a
            com.whiteops.sdk.a r1 = B
            java.lang.String r0 = r0.getGlEsVersion()
            a(r1, r0)
            goto L_0x0061
        L_0x005a:
            com.whiteops.sdk.a r0 = B
            java.lang.String r1 = "ERROR"
            a(r0, r1)
        L_0x0061:
            com.whiteops.sdk.a r0 = C
            android.content.pm.ApplicationInfo r1 = s
            int r1 = r1.flags
            r2 = 2
            r1 = r1 & r2
            if (r1 == 0) goto L_0x006d
            r1 = r4
            goto L_0x006e
        L_0x006d:
            r1 = r5
        L_0x006e:
            java.lang.Boolean r1 = java.lang.Boolean.valueOf(r1)
            a(r0, r1)
            com.whiteops.sdk.a r0 = F
            android.content.pm.ApplicationInfo r1 = s
            int r1 = r1.flags
            r6 = 8
            r1 = r1 & r6
            if (r1 == 0) goto L_0x0082
            r1 = r4
            goto L_0x0083
        L_0x0082:
            r1 = r5
        L_0x0083:
            java.lang.Boolean r1 = java.lang.Boolean.valueOf(r1)
            a(r0, r1)
            com.whiteops.sdk.a r0 = cl
            android.content.pm.ApplicationInfo r1 = s
            int r1 = r1.flags
            java.lang.Integer r1 = java.lang.Integer.valueOf(r1)
            a(r0, r1)
            android.media.AudioManager r0 = o
            r1 = 4
            r7 = 3
            r8 = 5
            if (r0 == 0) goto L_0x0144
            com.whiteops.sdk.a r0 = ay
            android.media.AudioManager r9 = o
            int r9 = r9.getStreamVolume(r4)
            java.lang.Integer r9 = java.lang.Integer.valueOf(r9)
            a(r0, r9)
            com.whiteops.sdk.a r0 = az
            android.media.AudioManager r9 = o
            int r9 = r9.getStreamVolume(r8)
            java.lang.Integer r9 = java.lang.Integer.valueOf(r9)
            a(r0, r9)
            com.whiteops.sdk.a r0 = aA
            android.media.AudioManager r9 = o
            int r9 = r9.getStreamVolume(r7)
            java.lang.Integer r9 = java.lang.Integer.valueOf(r9)
            a(r0, r9)
            com.whiteops.sdk.a r0 = aB
            android.media.AudioManager r9 = o
            int r9 = r9.getStreamVolume(r2)
            java.lang.Integer r9 = java.lang.Integer.valueOf(r9)
            a(r0, r9)
            com.whiteops.sdk.a r0 = aC
            android.media.AudioManager r9 = o
            int r6 = r9.getStreamVolume(r6)
            java.lang.Integer r6 = java.lang.Integer.valueOf(r6)
            a(r0, r6)
            com.whiteops.sdk.a r0 = aD
            android.media.AudioManager r6 = o
            int r6 = r6.getStreamVolume(r5)
            java.lang.Integer r6 = java.lang.Integer.valueOf(r6)
            a(r0, r6)
            com.whiteops.sdk.a r0 = aE
            android.media.AudioManager r6 = o
            int r6 = r6.getStreamVolume(r1)
            java.lang.Integer r6 = java.lang.Integer.valueOf(r6)
            a(r0, r6)
            com.whiteops.sdk.a r0 = aF
            android.media.AudioManager r6 = o
            boolean r6 = r6.isWiredHeadsetOn()
            java.lang.Boolean r6 = java.lang.Boolean.valueOf(r6)
            a(r0, r6)
            com.whiteops.sdk.a r0 = aG
            android.media.AudioManager r6 = o
            boolean r6 = r6.isMusicActive()
            java.lang.Boolean r6 = java.lang.Boolean.valueOf(r6)
            a(r0, r6)
            com.whiteops.sdk.a r0 = aH
            android.media.AudioManager r6 = o
            boolean r6 = r6.isSpeakerphoneOn()
            java.lang.Boolean r6 = java.lang.Boolean.valueOf(r6)
            a(r0, r6)
            com.whiteops.sdk.a r0 = co
            android.media.AudioManager r6 = o
            int r6 = r6.getRingerMode()
            java.lang.Integer r6 = java.lang.Integer.valueOf(r6)
        L_0x0140:
            a(r0, r6)
            goto L_0x018f
        L_0x0144:
            com.whiteops.sdk.a r0 = ay
            java.lang.String r6 = "ERROR"
            a(r0, r6)
            com.whiteops.sdk.a r0 = az
            java.lang.String r6 = "ERROR"
            a(r0, r6)
            com.whiteops.sdk.a r0 = aA
            java.lang.String r6 = "ERROR"
            a(r0, r6)
            com.whiteops.sdk.a r0 = aB
            java.lang.String r6 = "ERROR"
            a(r0, r6)
            com.whiteops.sdk.a r0 = aC
            java.lang.String r6 = "ERROR"
            a(r0, r6)
            com.whiteops.sdk.a r0 = aD
            java.lang.String r6 = "ERROR"
            a(r0, r6)
            com.whiteops.sdk.a r0 = aE
            java.lang.String r6 = "ERROR"
            a(r0, r6)
            com.whiteops.sdk.a r0 = aF
            java.lang.String r6 = "ERROR"
            a(r0, r6)
            com.whiteops.sdk.a r0 = aG
            java.lang.String r6 = "ERROR"
            a(r0, r6)
            com.whiteops.sdk.a r0 = aH
            java.lang.String r6 = "ERROR"
            a(r0, r6)
            com.whiteops.sdk.a r0 = aI
            java.lang.String r6 = "ERROR"
            goto L_0x0140
        L_0x018f:
            org.json.JSONArray r0 = new org.json.JSONArray
            r0.<init>()
            int r6 = h
            r9 = 23
            if (r6 < r9) goto L_0x01d6
            android.media.AudioManager r6 = o
            if (r6 == 0) goto L_0x01d1
            android.media.AudioManager r6 = o     // Catch:{ JSONException -> 0x01d1 }
            android.media.AudioDeviceInfo[] r6 = r6.getDevices(r4)     // Catch:{ JSONException -> 0x01d1 }
            int r10 = r6.length     // Catch:{ JSONException -> 0x01d1 }
            r11 = r5
        L_0x01a6:
            if (r11 >= r10) goto L_0x01cb
            r12 = r6[r11]     // Catch:{ JSONException -> 0x01d1 }
            org.json.JSONObject r13 = new org.json.JSONObject     // Catch:{ JSONException -> 0x01d1 }
            r13.<init>()     // Catch:{ JSONException -> 0x01d1 }
            java.lang.String r14 = "ProductName"
            java.lang.CharSequence r15 = r12.getProductName()     // Catch:{ JSONException -> 0x01d1 }
            java.lang.String r15 = r15.toString()     // Catch:{ JSONException -> 0x01d1 }
            r13.put(r14, r15)     // Catch:{ JSONException -> 0x01d1 }
            java.lang.String r14 = "Type"
            int r12 = r12.getType()     // Catch:{ JSONException -> 0x01d1 }
            r13.put(r14, r12)     // Catch:{ JSONException -> 0x01d1 }
            r0.put(r13)     // Catch:{ JSONException -> 0x01d1 }
            int r11 = r11 + 1
            goto L_0x01a6
        L_0x01cb:
            com.whiteops.sdk.a r6 = aI     // Catch:{ JSONException -> 0x01d1 }
            a(r6, r0)     // Catch:{ JSONException -> 0x01d1 }
            goto L_0x01dd
        L_0x01d1:
            com.whiteops.sdk.a r0 = aI
            java.lang.String r6 = "ERROR"
            goto L_0x01da
        L_0x01d6:
            com.whiteops.sdk.a r0 = aI
            java.lang.String r6 = "UNKNOWN"
        L_0x01da:
            a(r0, r6)
        L_0x01dd:
            android.content.Context r0 = e
            android.content.IntentFilter r6 = new android.content.IntentFilter
            java.lang.String r10 = "android.intent.action.BATTERY_CHANGED"
            r6.<init>(r10)
            r10 = 0
            android.content.Intent r0 = r0.registerReceiver(r10, r6)
            if (r0 == 0) goto L_0x01f4
            java.lang.String r6 = "present"
            boolean r6 = r0.getBooleanExtra(r6, r5)
            goto L_0x01f5
        L_0x01f4:
            r6 = r5
        L_0x01f5:
            com.whiteops.sdk.a r11 = bm
            java.lang.Boolean r12 = java.lang.Boolean.valueOf(r6)
            a(r11, r12)
            r11 = -1
            if (r6 == 0) goto L_0x0288
            java.lang.String r6 = "level"
            int r6 = r0.getIntExtra(r6, r11)
            java.lang.String r12 = "scale"
            int r12 = r0.getIntExtra(r12, r11)
            if (r6 == r11) goto L_0x0222
            if (r12 <= 0) goto L_0x0222
            com.whiteops.sdk.a r13 = bl
            float r6 = (float) r6
            float r12 = (float) r12
            float r6 = r6 / r12
            r12 = 1120403456(0x42c80000, float:100.0)
            float r6 = r6 * r12
            int r6 = (int) r6
            java.lang.Integer r6 = java.lang.Integer.valueOf(r6)
            a(r13, r6)
            goto L_0x0229
        L_0x0222:
            com.whiteops.sdk.a r6 = bl
            java.lang.String r12 = "ERROR"
            a(r6, r12)
        L_0x0229:
            com.whiteops.sdk.a r6 = bk
            java.lang.String r12 = "plugged"
            int r12 = r0.getIntExtra(r12, r5)
            java.lang.String r12 = java.lang.String.valueOf(r12)
            a(r6, r12)
            com.whiteops.sdk.a r6 = bj
            java.lang.String r12 = "status"
            int r12 = r0.getIntExtra(r12, r5)
            java.lang.String r12 = java.lang.String.valueOf(r12)
            a(r6, r12)
            com.whiteops.sdk.a r6 = bn
            java.lang.String r12 = "health"
            int r12 = r0.getIntExtra(r12, r5)
            java.lang.String r12 = java.lang.String.valueOf(r12)
            a(r6, r12)
            java.lang.String r6 = "temperature"
            int r0 = r0.getIntExtra(r6, r5)
            float r0 = (float) r0
            r6 = 1092616192(0x41200000, float:10.0)
            float r0 = r0 / r6
            com.whiteops.sdk.a r6 = bo
            java.lang.String r0 = java.lang.String.valueOf(r0)
            a(r6, r0)
            android.content.Context r0 = e
            java.lang.String r6 = "batterymanager"
            java.lang.Object r0 = r0.getSystemService(r6)
            android.os.BatteryManager r0 = (android.os.BatteryManager) r0
            if (r0 == 0) goto L_0x0283
            com.whiteops.sdk.a r6 = bp
            int r0 = r0.getIntProperty(r2)
            java.lang.String r0 = java.lang.String.valueOf(r0)
            a(r6, r0)
            goto L_0x02b2
        L_0x0283:
            com.whiteops.sdk.a r0 = bp
            java.lang.String r6 = "ERROR"
            goto L_0x02af
        L_0x0288:
            com.whiteops.sdk.a r0 = bl
            java.lang.String r6 = "UNKNOWN"
            a(r0, r6)
            com.whiteops.sdk.a r0 = bk
            java.lang.String r6 = "UNKNOWN"
            a(r0, r6)
            com.whiteops.sdk.a r0 = bj
            java.lang.String r6 = "UNKNOWN"
            a(r0, r6)
            com.whiteops.sdk.a r0 = bn
            java.lang.String r6 = "UNKNOWN"
            a(r0, r6)
            com.whiteops.sdk.a r0 = bo
            java.lang.String r6 = "UNKNOWN"
            a(r0, r6)
            com.whiteops.sdk.a r0 = bp
            java.lang.String r6 = "UNKNOWN"
        L_0x02af:
            a(r0, r6)
        L_0x02b2:
            com.whiteops.sdk.a r0 = aP
            java.lang.String r6 = android.os.Build.BRAND
            a(r0, r6)
            com.whiteops.sdk.a r0 = aQ
            java.lang.String r6 = android.os.Build.BOARD
            a(r0, r6)
            com.whiteops.sdk.a r0 = aR
            java.lang.String r6 = android.os.Build.BOOTLOADER
            a(r0, r6)
            com.whiteops.sdk.a r0 = aS
            java.lang.String r6 = android.os.Build.MANUFACTURER
            a(r0, r6)
            com.whiteops.sdk.a r0 = aT
            java.lang.String r6 = android.os.Build.MODEL
            a(r0, r6)
            com.whiteops.sdk.a r0 = aU
            java.lang.String r6 = android.os.Build.HOST
            a(r0, r6)
            com.whiteops.sdk.a r0 = aV
            java.lang.String r6 = android.os.Build.HARDWARE
            a(r0, r6)
            com.whiteops.sdk.a r0 = aW
            java.lang.String r6 = android.os.Build.DEVICE
            a(r0, r6)
            com.whiteops.sdk.a r0 = aX
            java.lang.String r6 = android.os.Build.FINGERPRINT
            a(r0, r6)
            com.whiteops.sdk.a r0 = aY
            java.lang.String r6 = android.os.Build.DISPLAY
            a(r0, r6)
            com.whiteops.sdk.a r0 = aZ
            java.lang.String r6 = android.os.Build.USER
            a(r0, r6)
            com.whiteops.sdk.a r0 = ba
            java.lang.String r6 = android.os.Build.PRODUCT
            a(r0, r6)
            com.whiteops.sdk.a r0 = bb
            java.lang.String r6 = android.os.Build.TAGS
            a(r0, r6)
            com.whiteops.sdk.a r0 = bc
            long r12 = android.os.Build.TIME
            java.lang.Long r6 = java.lang.Long.valueOf(r12)
            a(r0, r6)
            com.whiteops.sdk.a r0 = bf
            java.lang.String r6 = android.os.Build.TYPE
            a(r0, r6)
            com.whiteops.sdk.a r0 = be
            java.lang.String r6 = android.os.Build.ID
            a(r0, r6)
            com.whiteops.sdk.a r0 = bB
            java.lang.String r6 = android.os.Build.VERSION.CODENAME
            a(r0, r6)
            com.whiteops.sdk.a r0 = bC
            java.lang.String r6 = android.os.Build.VERSION.RELEASE
            a(r0, r6)
            com.whiteops.sdk.a r0 = bD
            int r6 = android.os.Build.VERSION.SDK_INT
            java.lang.Integer r6 = java.lang.Integer.valueOf(r6)
            a(r0, r6)
            int r0 = h
            if (r0 < r9) goto L_0x035b
            com.whiteops.sdk.a r0 = bd
            java.lang.String r6 = android.os.Build.getRadioVersion()
            a(r0, r6)
            com.whiteops.sdk.a r0 = bE
            java.lang.String r6 = android.os.Build.VERSION.SECURITY_PATCH
            a(r0, r6)
            com.whiteops.sdk.a r0 = bF
            java.lang.String r6 = android.os.Build.VERSION.BASE_OS
        L_0x0357:
            a(r0, r6)
            goto L_0x036e
        L_0x035b:
            com.whiteops.sdk.a r0 = bd
            java.lang.String r6 = "UNKNOWN"
            a(r0, r6)
            com.whiteops.sdk.a r0 = bE
            java.lang.String r6 = "UNKNOWN"
            a(r0, r6)
            com.whiteops.sdk.a r0 = bF
            java.lang.String r6 = "UNKNOWN"
            goto L_0x0357
        L_0x036e:
            int r0 = h
            r6 = 26
            if (r0 >= r6) goto L_0x037c
            com.whiteops.sdk.a r0 = aO
            java.lang.String r12 = android.os.Build.SERIAL
        L_0x0378:
            a(r0, r12)
            goto L_0x0381
        L_0x037c:
            com.whiteops.sdk.a r0 = aO
            java.lang.String r12 = "UNKNOWN"
            goto L_0x0378
        L_0x0381:
            android.content.Context r0 = e
            java.lang.String r12 = "connectivity"
            java.lang.Object r0 = r0.getSystemService(r12)
            android.net.ConnectivityManager r0 = (android.net.ConnectivityManager) r0
            boolean r12 = l
            if (r12 == 0) goto L_0x0439
            if (r0 == 0) goto L_0x0434
            android.net.Network[] r12 = r0.getAllNetworks()
            org.json.JSONArray r13 = new org.json.JSONArray
            r13.<init>()
            int r14 = r12.length
            r15 = r5
        L_0x039c:
            if (r15 >= r14) goto L_0x042e
            r10 = r12[r15]
            org.json.JSONObject r3 = new org.json.JSONObject
            r3.<init>()
            android.net.NetworkCapabilities r10 = r0.getNetworkCapabilities(r10)
            java.lang.String r9 = "CHK_NETWORK_CAPABILITIES_INFO"
            java.lang.String r6 = r10.toString()     // Catch:{ JSONException -> 0x041c }
            r3.put(r9, r6)     // Catch:{ JSONException -> 0x041c }
            java.lang.String r6 = "CHK_NETWORK_CAPABILITIES_INTERNET"
            r9 = 12
            boolean r9 = r10.hasCapability(r9)     // Catch:{ JSONException -> 0x041c }
            r3.put(r6, r9)     // Catch:{ JSONException -> 0x041c }
            java.lang.String r6 = "CHK_NETWORK_CAPABILITIES_NOT_VPN"
            r9 = 15
            boolean r9 = r10.hasCapability(r9)     // Catch:{ JSONException -> 0x041c }
            r3.put(r6, r9)     // Catch:{ JSONException -> 0x041c }
            java.lang.Integer r6 = java.lang.Integer.valueOf(r11)     // Catch:{ JSONException -> 0x041c }
            boolean r9 = r10.hasTransport(r5)     // Catch:{ JSONException -> 0x041c }
            if (r9 == 0) goto L_0x03d7
            java.lang.Integer r6 = java.lang.Integer.valueOf(r5)     // Catch:{ JSONException -> 0x041c }
            goto L_0x0413
        L_0x03d7:
            boolean r9 = r10.hasTransport(r4)     // Catch:{ JSONException -> 0x041c }
            if (r9 == 0) goto L_0x03e2
            java.lang.Integer r6 = java.lang.Integer.valueOf(r4)     // Catch:{ JSONException -> 0x041c }
            goto L_0x0413
        L_0x03e2:
            boolean r9 = r10.hasTransport(r2)     // Catch:{ JSONException -> 0x041c }
            if (r9 == 0) goto L_0x03ed
            java.lang.Integer r6 = java.lang.Integer.valueOf(r2)     // Catch:{ JSONException -> 0x041c }
            goto L_0x0413
        L_0x03ed:
            boolean r9 = r10.hasTransport(r7)     // Catch:{ JSONException -> 0x041c }
            if (r9 == 0) goto L_0x03f8
            java.lang.Integer r6 = java.lang.Integer.valueOf(r7)     // Catch:{ JSONException -> 0x041c }
            goto L_0x0413
        L_0x03f8:
            boolean r9 = r10.hasTransport(r1)     // Catch:{ JSONException -> 0x041c }
            if (r9 == 0) goto L_0x0403
            java.lang.Integer r6 = java.lang.Integer.valueOf(r1)     // Catch:{ JSONException -> 0x041c }
            goto L_0x0413
        L_0x0403:
            boolean r9 = r10.hasTransport(r8)     // Catch:{ JSONException -> 0x041c }
            if (r9 == 0) goto L_0x0413
            int r9 = h     // Catch:{ JSONException -> 0x041c }
            r10 = 26
            if (r9 < r10) goto L_0x0413
            java.lang.Integer r6 = java.lang.Integer.valueOf(r8)     // Catch:{ JSONException -> 0x041c }
        L_0x0413:
            java.lang.String r9 = "CHK_NETWORK_TRANSPORT_TYPE"
            r3.put(r9, r6)     // Catch:{ JSONException -> 0x041c }
            r13.put(r3)     // Catch:{ JSONException -> 0x041c }
            goto L_0x0423
        L_0x041c:
            com.whiteops.sdk.a r3 = cC
            java.lang.String r6 = "ERROR"
            a(r3, r6)
        L_0x0423:
            int r15 = r15 + 1
            r3 = 100
            r6 = 26
            r9 = 23
            r10 = 0
            goto L_0x039c
        L_0x042e:
            com.whiteops.sdk.a r0 = cC
            a(r0, r13)
            goto L_0x0440
        L_0x0434:
            com.whiteops.sdk.a r0 = cC
            java.lang.String r1 = "ERROR"
            goto L_0x043d
        L_0x0439:
            com.whiteops.sdk.a r0 = cC
            java.lang.String r1 = "NO_PERMISSION"
        L_0x043d:
            a(r0, r1)
        L_0x0440:
            com.whiteops.sdk.a r0 = bi
            android.content.Context r1 = e
            java.lang.String r1 = r1.getPackageName()
            a(r0, r1)
            com.whiteops.sdk.a r0 = bg
            long r6 = android.os.SystemClock.uptimeMillis()
            java.lang.Long r1 = java.lang.Long.valueOf(r6)
            a(r0, r1)
            java.lang.String r0 = "android.os.SystemProperties"
            java.lang.Class r0 = java.lang.Class.forName(r0)     // Catch:{ Exception -> 0x04bc }
            if (r0 == 0) goto L_0x04c3
            java.lang.String r1 = "get"
            java.lang.Class[] r3 = new java.lang.Class[r4]     // Catch:{ Exception -> 0x04bc }
            java.lang.Class<java.lang.String> r6 = java.lang.String.class
            r3[r5] = r6     // Catch:{ Exception -> 0x04bc }
            java.lang.reflect.Method r1 = r0.getMethod(r1, r3)     // Catch:{ Exception -> 0x04bc }
            if (r1 == 0) goto L_0x04c3
            java.lang.Object[] r3 = new java.lang.Object[r4]     // Catch:{ Exception -> 0x04bc }
            java.lang.String r6 = "ro.hardware"
            r3[r5] = r6     // Catch:{ Exception -> 0x04bc }
            java.lang.Object r3 = r1.invoke(r0, r3)     // Catch:{ Exception -> 0x04bc }
            java.lang.Object[] r6 = new java.lang.Object[r4]     // Catch:{ Exception -> 0x04bc }
            java.lang.String r7 = "ro.kernel.qemu"
            r6[r5] = r7     // Catch:{ Exception -> 0x04bc }
            java.lang.Object r6 = r1.invoke(r0, r6)     // Catch:{ Exception -> 0x04bc }
            java.lang.Object[] r7 = new java.lang.Object[r4]     // Catch:{ Exception -> 0x04bc }
            java.lang.String r8 = "ro.product.model"
            r7[r5] = r8     // Catch:{ Exception -> 0x04bc }
            java.lang.Object r0 = r1.invoke(r0, r7)     // Catch:{ Exception -> 0x04bc }
            if (r3 == 0) goto L_0x0497
            java.lang.String r3 = (java.lang.String) r3     // Catch:{ Exception -> 0x04bc }
            java.lang.String r1 = "goldfish"
            boolean r1 = r3.contains(r1)     // Catch:{ Exception -> 0x04bc }
            goto L_0x0498
        L_0x0497:
            r1 = r5
        L_0x0498:
            if (r6 == 0) goto L_0x04aa
            java.lang.String r6 = (java.lang.String) r6     // Catch:{ Exception -> 0x04bc }
            java.lang.String r3 = "1"
            boolean r3 = r6.contains(r3)     // Catch:{ Exception -> 0x04bc }
            if (r3 != 0) goto L_0x04a9
            if (r1 == 0) goto L_0x04a7
            goto L_0x04a9
        L_0x04a7:
            r1 = r5
            goto L_0x04aa
        L_0x04a9:
            r1 = r4
        L_0x04aa:
            if (r0 == 0) goto L_0x04ba
            java.lang.String r0 = (java.lang.String) r0     // Catch:{ Exception -> 0x04bc }
            java.lang.String r3 = "sdk"
            boolean r0 = r0.contains(r3)     // Catch:{ Exception -> 0x04bc }
            if (r0 != 0) goto L_0x04b8
            if (r1 == 0) goto L_0x04c3
        L_0x04b8:
            r0 = r4
            goto L_0x04c4
        L_0x04ba:
            r0 = r1
            goto L_0x04c4
        L_0x04bc:
            com.whiteops.sdk.a r0 = bh
            java.lang.String r1 = "ERROR"
            a(r0, r1)
        L_0x04c3:
            r0 = r5
        L_0x04c4:
            com.whiteops.sdk.a r1 = bh
            java.lang.String r0 = java.lang.String.valueOf(r0)
            java.lang.String r0 = r0.toUpperCase()
            a(r1, r0)
            com.whiteops.sdk.a r0 = cq
            java.util.TimeZone r1 = java.util.TimeZone.getDefault()
            java.lang.String r1 = r1.getDisplayName()
            a(r0, r1)
            com.whiteops.sdk.a r0 = cp
            java.util.TimeZone r1 = java.util.TimeZone.getDefault()
            int r1 = r1.getRawOffset()
            java.lang.Integer r1 = java.lang.Integer.valueOf(r1)
            a(r0, r1)
            android.content.Context r0 = e
            android.content.res.Resources r0 = r0.getResources()
            android.util.DisplayMetrics r0 = r0.getDisplayMetrics()
            com.whiteops.sdk.a r1 = cw
            float r3 = r0.density
            java.lang.Float r3 = java.lang.Float.valueOf(r3)
            a(r1, r3)
            com.whiteops.sdk.a r1 = cx
            int r3 = r0.densityDpi
            java.lang.Integer r3 = java.lang.Integer.valueOf(r3)
            a(r1, r3)
            com.whiteops.sdk.a r1 = cz
            int r3 = r0.widthPixels
            java.lang.Integer r3 = java.lang.Integer.valueOf(r3)
            a(r1, r3)
            com.whiteops.sdk.a r1 = cy
            int r3 = r0.heightPixels
            java.lang.Integer r3 = java.lang.Integer.valueOf(r3)
            a(r1, r3)
            com.whiteops.sdk.a r1 = cA
            float r3 = r0.xdpi
            java.lang.Float r3 = java.lang.Float.valueOf(r3)
            a(r1, r3)
            com.whiteops.sdk.a r1 = cB
            float r0 = r0.ydpi
            java.lang.Float r0 = java.lang.Float.valueOf(r0)
            a(r1, r0)
            com.whiteops.sdk.a r0 = cD     // Catch:{ MissingResourceException -> 0x0549 }
            java.util.Locale r1 = java.util.Locale.getDefault()     // Catch:{ MissingResourceException -> 0x0549 }
            java.lang.String r1 = r1.getISO3Language()     // Catch:{ MissingResourceException -> 0x0549 }
            a(r0, r1)     // Catch:{ MissingResourceException -> 0x0549 }
            goto L_0x0550
        L_0x0549:
            com.whiteops.sdk.a r0 = cD
            java.lang.String r1 = "ERROR"
            a(r0, r1)
        L_0x0550:
            com.whiteops.sdk.a r0 = cE     // Catch:{ MissingResourceException -> 0x055e }
            java.util.Locale r1 = java.util.Locale.getDefault()     // Catch:{ MissingResourceException -> 0x055e }
            java.lang.String r1 = r1.getISO3Country()     // Catch:{ MissingResourceException -> 0x055e }
            a(r0, r1)     // Catch:{ MissingResourceException -> 0x055e }
            goto L_0x0565
        L_0x055e:
            com.whiteops.sdk.a r0 = cE
            java.lang.String r1 = "ERROR"
            a(r0, r1)
        L_0x0565:
            com.whiteops.sdk.a r0 = cF
            java.util.Locale r1 = java.util.Locale.getDefault()
            java.lang.String r1 = r1.getDisplayName()
            a(r0, r1)
            com.whiteops.sdk.a r0 = cs
            long r6 = android.net.TrafficStats.getTotalRxBytes()
            java.lang.Long r1 = java.lang.Long.valueOf(r6)
            a(r0, r1)
            com.whiteops.sdk.a r0 = ct
            long r6 = android.net.TrafficStats.getTotalTxBytes()
            java.lang.Long r1 = java.lang.Long.valueOf(r6)
            a(r0, r1)
            com.whiteops.sdk.a r0 = cu
            long r6 = android.net.TrafficStats.getMobileRxBytes()
            java.lang.Long r1 = java.lang.Long.valueOf(r6)
            a(r0, r1)
            com.whiteops.sdk.a r0 = cv
            long r6 = android.net.TrafficStats.getMobileTxBytes()
            java.lang.Long r1 = java.lang.Long.valueOf(r6)
            a(r0, r1)
            com.whiteops.sdk.a r0 = cG
            java.lang.String r1 = f
            a(r0, r1)
            com.whiteops.sdk.a r0 = cH
            java.lang.String r1 = "B1.0.5.01"
            a(r0, r1)
            android.app.KeyguardManager r0 = u
            if (r0 == 0) goto L_0x0610
            com.whiteops.sdk.a r0 = J
            android.app.KeyguardManager r1 = u
            boolean r1 = r1.isKeyguardLocked()
            java.lang.Boolean r1 = java.lang.Boolean.valueOf(r1)
            a(r0, r1)
            int r0 = h
            r1 = 22
            if (r0 < r1) goto L_0x05dd
            com.whiteops.sdk.a r0 = I
            android.app.KeyguardManager r1 = u
            boolean r1 = r1.isDeviceLocked()
            java.lang.String r1 = java.lang.String.valueOf(r1)
        L_0x05d9:
            a(r0, r1)
            goto L_0x05e2
        L_0x05dd:
            com.whiteops.sdk.a r0 = I
            java.lang.String r1 = "UNKNOWN"
            goto L_0x05d9
        L_0x05e2:
            int r0 = h
            r1 = 23
            if (r0 < r1) goto L_0x0604
            com.whiteops.sdk.a r0 = K
            android.app.KeyguardManager r1 = u
            boolean r1 = r1.isDeviceSecure()
            java.lang.String r1 = java.lang.String.valueOf(r1)
            a(r0, r1)
            com.whiteops.sdk.a r0 = L
            android.app.KeyguardManager r1 = u
            boolean r1 = r1.isKeyguardSecure()
            java.lang.String r1 = java.lang.String.valueOf(r1)
            goto L_0x0629
        L_0x0604:
            com.whiteops.sdk.a r0 = K
            java.lang.String r1 = "UNKNOWN"
            a(r0, r1)
            com.whiteops.sdk.a r0 = L
            java.lang.String r1 = "UNKNOWN"
            goto L_0x0629
        L_0x0610:
            com.whiteops.sdk.a r0 = I
            java.lang.String r1 = "ERROR"
            a(r0, r1)
            com.whiteops.sdk.a r0 = J
            java.lang.String r1 = "ERROR"
            a(r0, r1)
            com.whiteops.sdk.a r0 = K
            java.lang.String r1 = "ERROR"
            a(r0, r1)
            com.whiteops.sdk.a r0 = L
            java.lang.String r1 = "ERROR"
        L_0x0629:
            a(r0, r1)
            org.json.JSONArray r0 = new org.json.JSONArray
            r0.<init>()
            java.lang.String r1 = ""
            java.util.Enumeration r3 = java.net.NetworkInterface.getNetworkInterfaces()     // Catch:{ SocketException | JSONException -> 0x06da }
            if (r3 == 0) goto L_0x06d2
        L_0x0639:
            boolean r6 = r3.hasMoreElements()     // Catch:{ SocketException | JSONException -> 0x06da }
            if (r6 == 0) goto L_0x06cc
            java.lang.Object r6 = r3.nextElement()     // Catch:{ SocketException | JSONException -> 0x06da }
            java.net.NetworkInterface r6 = (java.net.NetworkInterface) r6     // Catch:{ SocketException | JSONException -> 0x06da }
            boolean r7 = r6.isUp()     // Catch:{ SocketException | JSONException -> 0x06da }
            if (r7 == 0) goto L_0x0639
            org.json.JSONObject r7 = new org.json.JSONObject     // Catch:{ SocketException | JSONException -> 0x06da }
            r7.<init>()     // Catch:{ SocketException | JSONException -> 0x06da }
            byte[] r8 = r6.getHardwareAddress()     // Catch:{ SocketException | JSONException -> 0x06da }
            if (r8 == 0) goto L_0x0684
            java.lang.StringBuilder r1 = new java.lang.StringBuilder     // Catch:{ SocketException | JSONException -> 0x06da }
            r1.<init>()     // Catch:{ SocketException | JSONException -> 0x06da }
            r9 = r5
        L_0x065c:
            int r10 = r8.length     // Catch:{ SocketException | JSONException -> 0x06da }
            if (r9 >= r10) goto L_0x0680
            java.lang.String r10 = "%02X%s"
            java.lang.Object[] r12 = new java.lang.Object[r2]     // Catch:{ SocketException | JSONException -> 0x06da }
            byte r13 = r8[r9]     // Catch:{ SocketException | JSONException -> 0x06da }
            java.lang.Byte r13 = java.lang.Byte.valueOf(r13)     // Catch:{ SocketException | JSONException -> 0x06da }
            r12[r5] = r13     // Catch:{ SocketException | JSONException -> 0x06da }
            int r13 = r8.length     // Catch:{ SocketException | JSONException -> 0x06da }
            int r13 = r13 - r4
            if (r9 >= r13) goto L_0x0672
            java.lang.String r13 = "-"
            goto L_0x0674
        L_0x0672:
            java.lang.String r13 = ""
        L_0x0674:
            r12[r4] = r13     // Catch:{ SocketException | JSONException -> 0x06da }
            java.lang.String r10 = java.lang.String.format(r10, r12)     // Catch:{ SocketException | JSONException -> 0x06da }
            r1.append(r10)     // Catch:{ SocketException | JSONException -> 0x06da }
            int r9 = r9 + 1
            goto L_0x065c
        L_0x0680:
            java.lang.String r1 = r1.toString()     // Catch:{ SocketException | JSONException -> 0x06da }
        L_0x0684:
            java.lang.String r8 = "CHK_NETWORK_MAC"
            r7.put(r8, r1)     // Catch:{ SocketException | JSONException -> 0x06da }
            java.lang.String r8 = "CHK_NETWORK_VIRTUAL"
            boolean r9 = r6.isVirtual()     // Catch:{ SocketException | JSONException -> 0x06da }
            r7.put(r8, r9)     // Catch:{ SocketException | JSONException -> 0x06da }
            org.json.JSONArray r8 = new org.json.JSONArray     // Catch:{ SocketException | JSONException -> 0x06da }
            r8.<init>()     // Catch:{ SocketException | JSONException -> 0x06da }
            java.util.Enumeration r6 = r6.getInetAddresses()     // Catch:{ SocketException | JSONException -> 0x06da }
        L_0x069b:
            boolean r9 = r6.hasMoreElements()     // Catch:{ SocketException | JSONException -> 0x06da }
            if (r9 == 0) goto L_0x06c2
            org.json.JSONObject r9 = new org.json.JSONObject     // Catch:{ SocketException | JSONException -> 0x06da }
            r9.<init>()     // Catch:{ SocketException | JSONException -> 0x06da }
            java.lang.Object r10 = r6.nextElement()     // Catch:{ SocketException | JSONException -> 0x06da }
            java.net.InetAddress r10 = (java.net.InetAddress) r10     // Catch:{ SocketException | JSONException -> 0x06da }
            java.lang.String r12 = "CHK_NETWORK_IP"
            java.lang.String r13 = r10.getHostAddress()     // Catch:{ SocketException | JSONException -> 0x06da }
            r9.put(r12, r13)     // Catch:{ SocketException | JSONException -> 0x06da }
            java.lang.String r12 = "CHK_NETWORK_LOOPBACK"
            boolean r10 = r10.isLoopbackAddress()     // Catch:{ SocketException | JSONException -> 0x06da }
            r9.put(r12, r10)     // Catch:{ SocketException | JSONException -> 0x06da }
            r8.put(r9)     // Catch:{ SocketException | JSONException -> 0x06da }
            goto L_0x069b
        L_0x06c2:
            java.lang.String r6 = "CHK_INET_ADDRESSES"
            r7.put(r6, r8)     // Catch:{ SocketException | JSONException -> 0x06da }
            r0.put(r7)     // Catch:{ SocketException | JSONException -> 0x06da }
            goto L_0x0639
        L_0x06cc:
            com.whiteops.sdk.a r1 = cr     // Catch:{ SocketException | JSONException -> 0x06da }
            a(r1, r0)     // Catch:{ SocketException | JSONException -> 0x06da }
            goto L_0x06e1
        L_0x06d2:
            com.whiteops.sdk.a r0 = cr     // Catch:{ SocketException | JSONException -> 0x06da }
            java.lang.String r1 = ""
            a(r0, r1)     // Catch:{ SocketException | JSONException -> 0x06da }
            goto L_0x06e1
        L_0x06da:
            com.whiteops.sdk.a r0 = cr
            java.lang.String r1 = "ERROR"
            a(r0, r1)
        L_0x06e1:
            android.content.pm.PackageManager r0 = t     // Catch:{ Exception -> 0x06f0 }
            android.content.Context r1 = e     // Catch:{ Exception -> 0x06f0 }
            java.lang.String r1 = r1.getPackageName()     // Catch:{ Exception -> 0x06f0 }
            r2 = 4096(0x1000, float:5.74E-42)
            android.content.pm.PackageInfo r10 = r0.getPackageInfo(r1, r2)     // Catch:{ Exception -> 0x06f0 }
            goto L_0x06f1
        L_0x06f0:
            r10 = 0
        L_0x06f1:
            org.json.JSONArray r0 = new org.json.JSONArray
            r0.<init>()
            android.content.pm.PackageManager r1 = t     // Catch:{ Exception -> 0x0719 }
            android.content.Context r2 = e     // Catch:{ Exception -> 0x0719 }
            java.lang.String r2 = r2.getPackageName()     // Catch:{ Exception -> 0x0719 }
            android.content.pm.PackageInfo r1 = r1.getPackageInfo(r2, r4)     // Catch:{ Exception -> 0x0719 }
            android.content.pm.ActivityInfo[] r1 = r1.activities     // Catch:{ Exception -> 0x0719 }
            if (r1 == 0) goto L_0x0720
            int r2 = r1.length     // Catch:{ Exception -> 0x0719 }
            r3 = 100
            if (r2 >= r3) goto L_0x070c
            int r3 = r1.length     // Catch:{ Exception -> 0x0719 }
        L_0x070c:
            r2 = r5
        L_0x070d:
            if (r2 >= r3) goto L_0x0720
            r6 = r1[r2]     // Catch:{ Exception -> 0x0719 }
            java.lang.String r6 = r6.name     // Catch:{ Exception -> 0x0719 }
            r0.put(r6)     // Catch:{ Exception -> 0x0719 }
            int r2 = r2 + 1
            goto L_0x070d
        L_0x0719:
            com.whiteops.sdk.a r1 = E
            java.lang.String r2 = "UNKNOWN"
            a(r1, r2)
        L_0x0720:
            com.whiteops.sdk.a r1 = E
            a(r1, r0)
            org.json.JSONArray r0 = new org.json.JSONArray
            r0.<init>()
            if (r10 == 0) goto L_0x0742
            java.lang.String[] r1 = r10.requestedPermissions
            if (r1 == 0) goto L_0x073c
            int r2 = r1.length
            r3 = r5
        L_0x0732:
            if (r3 >= r2) goto L_0x073c
            r6 = r1[r3]
            r0.put(r6)
            int r3 = r3 + 1
            goto L_0x0732
        L_0x073c:
            com.whiteops.sdk.a r1 = H
            a(r1, r0)
            goto L_0x0749
        L_0x0742:
            com.whiteops.sdk.a r0 = H
            java.lang.String r1 = "ERROR"
            a(r0, r1)
        L_0x0749:
            if (r10 == 0) goto L_0x076d
            com.whiteops.sdk.a r0 = Y
            long r1 = r10.firstInstallTime
            java.lang.Long r1 = java.lang.Long.valueOf(r1)
            a(r0, r1)
            com.whiteops.sdk.a r0 = cm
            long r1 = r10.lastUpdateTime
            java.lang.Long r1 = java.lang.Long.valueOf(r1)
            a(r0, r1)
            com.whiteops.sdk.a r0 = cn
            int r1 = r10.versionCode
            java.lang.Integer r1 = java.lang.Integer.valueOf(r1)
        L_0x0769:
            a(r0, r1)
            goto L_0x0780
        L_0x076d:
            com.whiteops.sdk.a r0 = Y
            java.lang.String r1 = "ERROR"
            a(r0, r1)
            com.whiteops.sdk.a r0 = cm
            java.lang.String r1 = "ERROR"
            a(r0, r1)
            com.whiteops.sdk.a r0 = cn
            java.lang.String r1 = "ERROR"
            goto L_0x0769
        L_0x0780:
            com.whiteops.sdk.a r0 = Z
            android.content.pm.PackageManager r1 = t
            java.lang.String r2 = "android.hardware.touchscreen.multitouch"
            boolean r1 = r1.hasSystemFeature(r2)
            java.lang.Boolean r1 = java.lang.Boolean.valueOf(r1)
            a(r0, r1)
            com.whiteops.sdk.a r0 = aa
            android.content.pm.PackageManager r1 = t
            java.lang.String r2 = "android.hardware.touchscreen.multitouch.distinct"
            boolean r1 = r1.hasSystemFeature(r2)
            java.lang.Boolean r1 = java.lang.Boolean.valueOf(r1)
            a(r0, r1)
            com.whiteops.sdk.a r0 = ab
            android.content.pm.PackageManager r1 = t
            java.lang.String r2 = "android.hardware.touchscreen.multitouch.jazzhand"
            boolean r1 = r1.hasSystemFeature(r2)
            java.lang.Boolean r1 = java.lang.Boolean.valueOf(r1)
            a(r0, r1)
            com.whiteops.sdk.a r0 = bL
            android.content.pm.PackageManager r1 = t
            java.lang.String r2 = "android.hardware.touchscreen"
            boolean r1 = r1.hasSystemFeature(r2)
            java.lang.Boolean r1 = java.lang.Boolean.valueOf(r1)
            a(r0, r1)
            com.whiteops.sdk.a r0 = bM
            android.content.pm.PackageManager r1 = t
            java.lang.String r2 = "android.hardware.faketouch"
            boolean r1 = r1.hasSystemFeature(r2)
            java.lang.Boolean r1 = java.lang.Boolean.valueOf(r1)
            a(r0, r1)
            com.whiteops.sdk.a r0 = bO
            android.content.pm.PackageManager r1 = t
            java.lang.String r2 = "android.hardware.faketouch.multitouch.jazzhand"
            boolean r1 = r1.hasSystemFeature(r2)
            java.lang.Boolean r1 = java.lang.Boolean.valueOf(r1)
            a(r0, r1)
            com.whiteops.sdk.a r0 = bN
            android.content.pm.PackageManager r1 = t
            java.lang.String r2 = "android.hardware.faketouch.multitouch.distinct"
            boolean r1 = r1.hasSystemFeature(r2)
            java.lang.Boolean r1 = java.lang.Boolean.valueOf(r1)
            a(r0, r1)
            com.whiteops.sdk.a r0 = ac
            android.content.pm.PackageManager r1 = t
            java.lang.String r2 = "android.hardware.camera"
            boolean r1 = r1.hasSystemFeature(r2)
            java.lang.Boolean r1 = java.lang.Boolean.valueOf(r1)
            a(r0, r1)
            com.whiteops.sdk.a r0 = ad
            android.content.pm.PackageManager r1 = t
            java.lang.String r2 = "android.hardware.camera.front"
            boolean r1 = r1.hasSystemFeature(r2)
            java.lang.Boolean r1 = java.lang.Boolean.valueOf(r1)
            a(r0, r1)
            com.whiteops.sdk.a r0 = ae
            android.content.pm.PackageManager r1 = t
            java.lang.String r2 = "android.hardware.camera.flash"
            boolean r1 = r1.hasSystemFeature(r2)
            java.lang.Boolean r1 = java.lang.Boolean.valueOf(r1)
            a(r0, r1)
            com.whiteops.sdk.a r0 = af
            android.content.pm.PackageManager r1 = t
            java.lang.String r2 = "android.hardware.sensor.accelerometer"
            boolean r1 = r1.hasSystemFeature(r2)
            java.lang.Boolean r1 = java.lang.Boolean.valueOf(r1)
            a(r0, r1)
            com.whiteops.sdk.a r0 = ah
            android.content.pm.PackageManager r1 = t
            java.lang.String r2 = "android.hardware.sensor.barometer"
            boolean r1 = r1.hasSystemFeature(r2)
            java.lang.Boolean r1 = java.lang.Boolean.valueOf(r1)
            a(r0, r1)
            com.whiteops.sdk.a r0 = ai
            android.content.pm.PackageManager r1 = t
            java.lang.String r2 = "android.hardware.sensor.gyroscope"
            boolean r1 = r1.hasSystemFeature(r2)
            java.lang.Boolean r1 = java.lang.Boolean.valueOf(r1)
            a(r0, r1)
            com.whiteops.sdk.a r0 = aj
            android.content.pm.PackageManager r1 = t
            java.lang.String r2 = "android.hardware.sensor.compass"
            boolean r1 = r1.hasSystemFeature(r2)
            java.lang.Boolean r1 = java.lang.Boolean.valueOf(r1)
            a(r0, r1)
            com.whiteops.sdk.a r0 = am
            android.content.pm.PackageManager r1 = t
            java.lang.String r2 = "android.hardware.sensor.proximity"
            boolean r1 = r1.hasSystemFeature(r2)
            java.lang.Boolean r1 = java.lang.Boolean.valueOf(r1)
            a(r0, r1)
            com.whiteops.sdk.a r0 = ag
            android.content.pm.PackageManager r1 = t
            java.lang.String r2 = "android.hardware.sensor.stepcounter"
            boolean r1 = r1.hasSystemFeature(r2)
            java.lang.Boolean r1 = java.lang.Boolean.valueOf(r1)
            a(r0, r1)
            com.whiteops.sdk.a r0 = al
            android.content.pm.PackageManager r1 = t
            java.lang.String r2 = "android.hardware.sensor.stepdetector"
            boolean r1 = r1.hasSystemFeature(r2)
            java.lang.Boolean r1 = java.lang.Boolean.valueOf(r1)
            a(r0, r1)
            com.whiteops.sdk.a r0 = ak
            android.content.pm.PackageManager r1 = t
            java.lang.String r2 = "android.hardware.sensor.heartrate"
            boolean r1 = r1.hasSystemFeature(r2)
            java.lang.String r1 = java.lang.String.valueOf(r1)
            a(r0, r1)
            com.whiteops.sdk.a r0 = an
            android.content.pm.PackageManager r1 = t
            java.lang.String r2 = "android.hardware.sensor.ambient_temperature"
            boolean r1 = r1.hasSystemFeature(r2)
            java.lang.String r1 = java.lang.String.valueOf(r1)
            a(r0, r1)
            int r0 = h
            r1 = 23
            if (r0 < r1) goto L_0x08db
            com.whiteops.sdk.a r0 = bP
            android.content.pm.PackageManager r1 = t
            java.lang.String r2 = "android.hardware.sensor.hifi_sensors"
            boolean r1 = r1.hasSystemFeature(r2)
            java.lang.String r1 = java.lang.String.valueOf(r1)
        L_0x08d7:
            a(r0, r1)
            goto L_0x08e0
        L_0x08db:
            com.whiteops.sdk.a r0 = bP
            java.lang.String r1 = "UNKNOWN"
            goto L_0x08d7
        L_0x08e0:
            java.util.ArrayList r0 = new java.util.ArrayList
            java.lang.String r1 = "com.android.vending"
            java.lang.String r2 = "com.google.android.feedback"
            java.lang.String[] r1 = new java.lang.String[]{r1, r2}
            java.util.List r1 = java.util.Arrays.asList(r1)
            r0.<init>(r1)
            android.content.pm.PackageManager r1 = t
            android.content.Context r2 = e
            java.lang.String r2 = r2.getPackageName()
            java.lang.String r1 = r1.getInstallerPackageName(r2)
            com.whiteops.sdk.a r2 = ao
            if (r1 == 0) goto L_0x0908
            boolean r0 = r0.contains(r1)
            if (r0 == 0) goto L_0x0908
            goto L_0x0909
        L_0x0908:
            r4 = r5
        L_0x0909:
            java.lang.Boolean r0 = java.lang.Boolean.valueOf(r4)
            a(r2, r0)
            com.whiteops.sdk.a r0 = ap
            android.content.pm.PackageManager r1 = t
            android.content.Context r2 = e
            java.lang.String r2 = r2.getPackageName()
            java.lang.String r1 = r1.getInstallerPackageName(r2)
            java.lang.String r1 = java.lang.String.valueOf(r1)
            java.lang.String r1 = r1.toUpperCase()
            a(r0, r1)
            android.content.pm.PackageManager r0 = t     // Catch:{ Exception -> 0x094a }
            android.content.Context r1 = e     // Catch:{ Exception -> 0x094a }
            java.lang.String r1 = r1.getPackageName()     // Catch:{ Exception -> 0x094a }
            android.content.pm.ApplicationInfo r0 = r0.getApplicationInfo(r1, r5)     // Catch:{ Exception -> 0x094a }
            java.io.File r1 = new java.io.File     // Catch:{ Exception -> 0x094a }
            java.lang.String r0 = r0.publicSourceDir     // Catch:{ Exception -> 0x094a }
            r1.<init>(r0)     // Catch:{ Exception -> 0x094a }
            com.whiteops.sdk.a r0 = bz     // Catch:{ Exception -> 0x094a }
            long r1 = r1.length()     // Catch:{ Exception -> 0x094a }
            java.lang.String r1 = java.lang.String.valueOf(r1)     // Catch:{ Exception -> 0x094a }
            a(r0, r1)     // Catch:{ Exception -> 0x094a }
            goto L_0x0951
        L_0x094a:
            com.whiteops.sdk.a r0 = bz
            java.lang.String r1 = "ERROR"
            a(r0, r1)
        L_0x0951:
            android.content.pm.PackageManager r0 = t     // Catch:{ Exception -> 0x0965 }
            android.content.Context r1 = e     // Catch:{ Exception -> 0x0965 }
            java.lang.String r1 = r1.getPackageName()     // Catch:{ Exception -> 0x0965 }
            android.content.pm.ApplicationInfo r0 = r0.getApplicationInfo(r1, r5)     // Catch:{ Exception -> 0x0965 }
            com.whiteops.sdk.a r1 = bA     // Catch:{ Exception -> 0x0965 }
            java.lang.String r0 = r0.publicSourceDir     // Catch:{ Exception -> 0x0965 }
            a(r1, r0)     // Catch:{ Exception -> 0x0965 }
            goto L_0x096c
        L_0x0965:
            com.whiteops.sdk.a r0 = bA
            java.lang.String r1 = "ERROR"
            a(r0, r1)
        L_0x096c:
            android.content.Context r0 = e
            android.content.pm.PackageManager r0 = r0.getPackageManager()
            java.lang.String r1 = "android.hardware.bluetooth"
            boolean r0 = r0.hasSystemFeature(r1)
            com.whiteops.sdk.a r1 = ar
            java.lang.Boolean r2 = java.lang.Boolean.valueOf(r0)
            a(r1, r2)
            android.content.Context r1 = e
            android.content.pm.PackageManager r1 = r1.getPackageManager()
            java.lang.String r2 = "android.hardware.wifi"
            boolean r1 = r1.hasSystemFeature(r2)
            com.whiteops.sdk.a r2 = bJ
            java.lang.Boolean r3 = java.lang.Boolean.valueOf(r1)
            a(r2, r3)
            com.whiteops.sdk.a r2 = bK
            android.content.Context r3 = e
            android.content.pm.PackageManager r3 = r3.getPackageManager()
            java.lang.String r4 = "android.hardware.telephony"
            boolean r3 = r3.hasSystemFeature(r4)
            java.lang.Boolean r3 = java.lang.Boolean.valueOf(r3)
            a(r2, r3)
            com.whiteops.sdk.a r2 = bQ
            android.content.Context r3 = e
            android.content.pm.PackageManager r3 = r3.getPackageManager()
            java.lang.String r4 = "android.hardware.telephony.cdma"
            boolean r3 = r3.hasSystemFeature(r4)
            java.lang.Boolean r3 = java.lang.Boolean.valueOf(r3)
            a(r2, r3)
            com.whiteops.sdk.a r2 = bR
            android.content.Context r3 = e
            android.content.pm.PackageManager r3 = r3.getPackageManager()
            java.lang.String r4 = "android.hardware.telephony.gsm"
            boolean r3 = r3.hasSystemFeature(r4)
            java.lang.Boolean r3 = java.lang.Boolean.valueOf(r3)
            a(r2, r3)
            android.content.Context r2 = e
            android.content.pm.PackageManager r2 = r2.getPackageManager()
            java.lang.String r3 = "android.hardware.bluetooth"
            boolean r2 = r2.hasSystemFeature(r3)
            com.whiteops.sdk.a r3 = as
            java.lang.Boolean r4 = java.lang.Boolean.valueOf(r2)
            a(r3, r4)
            com.whiteops.sdk.a r3 = bS
            android.content.Context r4 = e
            android.content.pm.PackageManager r4 = r4.getPackageManager()
            java.lang.String r6 = "android.hardware.type.television"
            boolean r4 = r4.hasSystemFeature(r6)
            java.lang.Boolean r4 = java.lang.Boolean.valueOf(r4)
            a(r3, r4)
            com.whiteops.sdk.a r3 = bU
            android.content.Context r4 = e
            android.content.pm.PackageManager r4 = r4.getPackageManager()
            java.lang.String r6 = "android.hardware.type.watch"
            boolean r4 = r4.hasSystemFeature(r6)
            java.lang.String r4 = java.lang.String.valueOf(r4)
            a(r3, r4)
            com.whiteops.sdk.a r3 = bW
            android.content.Context r4 = e
            android.content.pm.PackageManager r4 = r4.getPackageManager()
            java.lang.String r6 = "android.software.live_tv"
            boolean r4 = r4.hasSystemFeature(r6)
            java.lang.String r4 = java.lang.String.valueOf(r4)
            a(r3, r4)
            com.whiteops.sdk.a r3 = bV
            android.content.Context r4 = e
            android.content.pm.PackageManager r4 = r4.getPackageManager()
            java.lang.String r6 = "android.hardware.gamepad"
            boolean r4 = r4.hasSystemFeature(r6)
            java.lang.String r4 = java.lang.String.valueOf(r4)
            a(r3, r4)
            int r3 = h
            r4 = 23
            if (r3 < r4) goto L_0x0a5a
            com.whiteops.sdk.a r3 = bX
            android.content.Context r4 = e
            android.content.pm.PackageManager r4 = r4.getPackageManager()
            java.lang.String r6 = "android.hardware.type.automotive"
            boolean r4 = r4.hasSystemFeature(r6)
            java.lang.String r4 = java.lang.String.valueOf(r4)
        L_0x0a56:
            a(r3, r4)
            goto L_0x0a5f
        L_0x0a5a:
            com.whiteops.sdk.a r3 = bX
            java.lang.String r4 = "UNKNOWN"
            goto L_0x0a56
        L_0x0a5f:
            int r3 = h
            r4 = 26
            if (r3 < r4) goto L_0x0a7b
            com.whiteops.sdk.a r3 = bY
            android.content.Context r4 = e
            android.content.pm.PackageManager r4 = r4.getPackageManager()
            java.lang.String r6 = "android.hardware.type.embedded"
            boolean r4 = r4.hasSystemFeature(r6)
            java.lang.String r4 = java.lang.String.valueOf(r4)
        L_0x0a77:
            a(r3, r4)
            goto L_0x0a80
        L_0x0a7b:
            com.whiteops.sdk.a r3 = bY
            java.lang.String r4 = "UNKNOWN"
            goto L_0x0a77
        L_0x0a80:
            com.whiteops.sdk.a r3 = ca
            android.content.Context r4 = e
            android.content.pm.PackageManager r4 = r4.getPackageManager()
            java.lang.String r6 = "android.hardware.screen.landscape"
            boolean r4 = r4.hasSystemFeature(r6)
            java.lang.Boolean r4 = java.lang.Boolean.valueOf(r4)
            a(r3, r4)
            com.whiteops.sdk.a r3 = bZ
            android.content.Context r4 = e
            android.content.pm.PackageManager r4 = r4.getPackageManager()
            java.lang.String r6 = "android.hardware.screen.portrait"
            boolean r4 = r4.hasSystemFeature(r6)
            java.lang.Boolean r4 = java.lang.Boolean.valueOf(r4)
            a(r3, r4)
            int r3 = h
            r4 = 26
            if (r3 < r4) goto L_0x0ac6
            com.whiteops.sdk.a r3 = cb
            android.content.Context r4 = e
            android.content.pm.PackageManager r4 = r4.getPackageManager()
            java.lang.String r6 = "android.software.activities_on_secondary_displays"
            boolean r4 = r4.hasSystemFeature(r6)
            java.lang.String r4 = java.lang.String.valueOf(r4)
        L_0x0ac2:
            a(r3, r4)
            goto L_0x0acb
        L_0x0ac6:
            com.whiteops.sdk.a r3 = cb
            java.lang.String r4 = "UNKNOWN"
            goto L_0x0ac2
        L_0x0acb:
            com.whiteops.sdk.a r3 = cc
            android.content.Context r4 = e
            android.content.pm.PackageManager r4 = r4.getPackageManager()
            java.lang.String r6 = "android.hardware.nfc"
            boolean r4 = r4.hasSystemFeature(r6)
            java.lang.Boolean r4 = java.lang.Boolean.valueOf(r4)
            a(r3, r4)
            com.whiteops.sdk.a r3 = cd
            android.content.Context r4 = e
            android.content.pm.PackageManager r4 = r4.getPackageManager()
            java.lang.String r6 = "android.hardware.usb.host"
            boolean r4 = r4.hasSystemFeature(r6)
            java.lang.Boolean r4 = java.lang.Boolean.valueOf(r4)
            a(r3, r4)
            com.whiteops.sdk.a r3 = ce
            android.content.Context r4 = e
            android.content.pm.PackageManager r4 = r4.getPackageManager()
            java.lang.String r6 = "android.hardware.wifi.direct"
            boolean r4 = r4.hasSystemFeature(r6)
            java.lang.Boolean r4 = java.lang.Boolean.valueOf(r4)
            a(r3, r4)
            int r3 = h
            r4 = 24
            if (r3 < r4) goto L_0x0b26
            com.whiteops.sdk.a r3 = cf
            android.content.Context r6 = e
            android.content.pm.PackageManager r6 = r6.getPackageManager()
            java.lang.String r7 = "android.hardware.ethernet"
            boolean r6 = r6.hasSystemFeature(r7)
            java.lang.String r6 = java.lang.String.valueOf(r6)
        L_0x0b22:
            a(r3, r6)
            goto L_0x0b2b
        L_0x0b26:
            com.whiteops.sdk.a r3 = cf
            java.lang.String r6 = "UNKNOWN"
            goto L_0x0b22
        L_0x0b2b:
            com.whiteops.sdk.a r3 = cg
            android.content.Context r6 = e
            android.content.pm.PackageManager r6 = r6.getPackageManager()
            java.lang.String r7 = "android.software.app_widgets"
            boolean r6 = r6.hasSystemFeature(r7)
            java.lang.Boolean r6 = java.lang.Boolean.valueOf(r6)
            a(r3, r6)
            com.whiteops.sdk.a r3 = ch
            android.content.Context r6 = e
            android.content.pm.PackageManager r6 = r6.getPackageManager()
            java.lang.String r7 = "android.hardware.opengles.aep"
            boolean r6 = r6.hasSystemFeature(r7)
            java.lang.String r6 = java.lang.String.valueOf(r6)
            a(r3, r6)
            com.whiteops.sdk.a r3 = ci
            android.content.Context r6 = e
            android.content.pm.PackageManager r6 = r6.getPackageManager()
            java.lang.String r7 = "android.hardware.microphone"
            boolean r6 = r6.hasSystemFeature(r7)
            java.lang.Boolean r6 = java.lang.Boolean.valueOf(r6)
            a(r3, r6)
            com.whiteops.sdk.a r3 = bT
            android.content.Context r6 = e
            android.content.pm.PackageManager r6 = r6.getPackageManager()
            java.lang.String r7 = "android.software.print"
            boolean r6 = r6.hasSystemFeature(r7)
            java.lang.String r6 = java.lang.String.valueOf(r6)
            a(r3, r6)
            int r3 = h
            r6 = 23
            if (r3 < r6) goto L_0x0b9b
            com.whiteops.sdk.a r3 = cj
            android.content.Context r6 = e
            android.content.pm.PackageManager r6 = r6.getPackageManager()
            java.lang.String r7 = "android.hardware.fingerprint"
            boolean r6 = r6.hasSystemFeature(r7)
            java.lang.String r6 = java.lang.String.valueOf(r6)
        L_0x0b97:
            a(r3, r6)
            goto L_0x0ba0
        L_0x0b9b:
            com.whiteops.sdk.a r3 = cj
            java.lang.String r6 = "UNKNOWN"
            goto L_0x0b97
        L_0x0ba0:
            android.os.PowerManager r3 = p
            if (r3 == 0) goto L_0x0baf
            android.os.PowerManager r3 = p
            boolean r3 = r3.isInteractive()
            java.lang.Boolean r10 = java.lang.Boolean.valueOf(r3)
            goto L_0x0bb0
        L_0x0baf:
            r10 = 0
        L_0x0bb0:
            com.whiteops.sdk.a r3 = aL
            java.lang.String r6 = java.lang.String.valueOf(r10)
            java.lang.String r6 = r6.toUpperCase()
            a(r3, r6)
            android.os.PowerManager r3 = p
            if (r3 == 0) goto L_0x0bd9
            int r3 = h
            r6 = 23
            if (r3 < r6) goto L_0x0bd4
            com.whiteops.sdk.a r3 = aM
            android.os.PowerManager r6 = p
            boolean r6 = r6.isDeviceIdleMode()
            java.lang.String r6 = java.lang.String.valueOf(r6)
            goto L_0x0bdd
        L_0x0bd4:
            com.whiteops.sdk.a r3 = aM
            java.lang.String r6 = "UNKNOWN"
            goto L_0x0bdd
        L_0x0bd9:
            com.whiteops.sdk.a r3 = aM
            java.lang.String r6 = "ERROR"
        L_0x0bdd:
            a(r3, r6)
            android.os.PowerManager r3 = p
            if (r3 == 0) goto L_0x0bf4
            com.whiteops.sdk.a r3 = aN
            android.os.PowerManager r6 = p
            boolean r6 = r6.isPowerSaveMode()
            java.lang.String r6 = java.lang.String.valueOf(r6)
        L_0x0bf0:
            a(r3, r6)
            goto L_0x0bf9
        L_0x0bf4:
            com.whiteops.sdk.a r3 = aN
            java.lang.String r6 = "ERROR"
            goto L_0x0bf0
        L_0x0bf9:
            com.whiteops.sdk.a r3 = D
            java.lang.Runtime r6 = java.lang.Runtime.getRuntime()
            int r6 = r6.availableProcessors()
            java.lang.Integer r6 = java.lang.Integer.valueOf(r6)
            a(r3, r6)
            com.whiteops.sdk.a r3 = G
            java.lang.Runtime r6 = java.lang.Runtime.getRuntime()
            long r6 = r6.totalMemory()
            java.lang.Long r6 = java.lang.Long.valueOf(r6)
            a(r3, r6)
            android.content.Context r3 = e
            android.content.ContentResolver r3 = r3.getContentResolver()
            java.lang.String r6 = "adb_enabled"
            java.lang.String r3 = android.provider.Settings.Global.getString(r3, r6)
            java.lang.String r3 = java.lang.String.valueOf(r3)
            com.whiteops.sdk.a r6 = U
            java.lang.String r7 = "1"
            boolean r3 = r3.equals(r7)
            java.lang.Boolean r3 = java.lang.Boolean.valueOf(r3)
            a(r6, r3)
            int r3 = h
            if (r3 < r4) goto L_0x0c59
            android.content.Context r3 = e     // Catch:{ SettingNotFoundException -> 0x0c54 }
            android.content.ContentResolver r3 = r3.getContentResolver()     // Catch:{ SettingNotFoundException -> 0x0c54 }
            java.lang.String r4 = "boot_count"
            int r3 = android.provider.Settings.Global.getInt(r3, r4)     // Catch:{ SettingNotFoundException -> 0x0c54 }
            com.whiteops.sdk.a r4 = X     // Catch:{ SettingNotFoundException -> 0x0c54 }
            java.lang.String r3 = java.lang.String.valueOf(r3)     // Catch:{ SettingNotFoundException -> 0x0c54 }
            a(r4, r3)     // Catch:{ SettingNotFoundException -> 0x0c54 }
            goto L_0x0c60
        L_0x0c54:
            com.whiteops.sdk.a r3 = X
            java.lang.String r4 = "ERROR"
            goto L_0x0c5d
        L_0x0c59:
            com.whiteops.sdk.a r3 = X
            java.lang.String r4 = "UNKNOWN"
        L_0x0c5d:
            a(r3, r4)
        L_0x0c60:
            com.whiteops.sdk.a r3 = au
            android.content.Context r4 = e
            android.content.ContentResolver r4 = r4.getContentResolver()
            java.lang.String r6 = "stay_on_while_plugged_in"
            java.lang.String r4 = android.provider.Settings.Global.getString(r4, r6)
            a(r3, r4)
            com.whiteops.sdk.a r3 = T
            android.content.Context r4 = e
            android.content.ContentResolver r4 = r4.getContentResolver()
            java.lang.String r6 = "accessibility_enabled"
            int r4 = android.provider.Settings.Secure.getInt(r4, r6, r5)
            java.lang.Integer r4 = java.lang.Integer.valueOf(r4)
            a(r3, r4)
            if (r0 != 0) goto L_0x0c90
            if (r2 == 0) goto L_0x0c8b
            goto L_0x0c90
        L_0x0c8b:
            com.whiteops.sdk.a r0 = aq
            java.lang.String r2 = "FALSE"
            goto L_0x0ca2
        L_0x0c90:
            com.whiteops.sdk.a r0 = aq
            android.content.Context r2 = e
            android.content.ContentResolver r2 = r2.getContentResolver()
            java.lang.String r3 = "bluetooth_on"
            int r2 = android.provider.Settings.Secure.getInt(r2, r3, r5)
            java.lang.Integer r2 = java.lang.Integer.valueOf(r2)
        L_0x0ca2:
            a(r0, r2)
            com.whiteops.sdk.a r0 = ax
            android.content.Context r2 = e
            android.content.ContentResolver r2 = r2.getContentResolver()
            java.lang.String r3 = "install_non_market_apps"
            int r2 = android.provider.Settings.Secure.getInt(r2, r3, r5)
            java.lang.Integer r2 = java.lang.Integer.valueOf(r2)
            a(r0, r2)
            com.whiteops.sdk.a r0 = aw
            android.content.Context r2 = e
            android.content.ContentResolver r2 = r2.getContentResolver()
            java.lang.String r3 = "usb_mass_storage_enabled"
            int r2 = android.provider.Settings.Secure.getInt(r2, r3, r5)
            java.lang.Integer r2 = java.lang.Integer.valueOf(r2)
            a(r0, r2)
            com.whiteops.sdk.a r0 = at
            android.content.Context r2 = e
            android.content.ContentResolver r2 = r2.getContentResolver()
            java.lang.String r3 = "development_settings_enabled"
            int r2 = android.provider.Settings.Secure.getInt(r2, r3, r5)
            java.lang.Integer r2 = java.lang.Integer.valueOf(r2)
            a(r0, r2)
            if (r1 == 0) goto L_0x0cfc
            com.whiteops.sdk.a r0 = av
            android.content.Context r1 = e
            android.content.ContentResolver r1 = r1.getContentResolver()
            java.lang.String r2 = "wifi_on"
            int r1 = android.provider.Settings.Secure.getInt(r1, r2, r5)
            java.lang.Integer r1 = java.lang.Integer.valueOf(r1)
        L_0x0cf8:
            a(r0, r1)
            goto L_0x0d01
        L_0x0cfc:
            com.whiteops.sdk.a r0 = av
            java.lang.String r1 = "FALSE"
            goto L_0x0cf8
        L_0x0d01:
            java.lang.Integer r0 = java.lang.Integer.valueOf(r11)
            android.content.Context r1 = e     // Catch:{ SettingNotFoundException -> 0x0d16 }
            android.content.ContentResolver r1 = r1.getContentResolver()     // Catch:{ SettingNotFoundException -> 0x0d16 }
            java.lang.String r2 = "screen_brightness"
            int r1 = android.provider.Settings.System.getInt(r1, r2)     // Catch:{ SettingNotFoundException -> 0x0d16 }
            java.lang.Integer r1 = java.lang.Integer.valueOf(r1)     // Catch:{ SettingNotFoundException -> 0x0d16 }
            r0 = r1
        L_0x0d16:
            com.whiteops.sdk.a r1 = V
            a(r1, r0)
            com.whiteops.sdk.a r0 = W
            android.content.Context r1 = e
            android.content.ContentResolver r1 = r1.getContentResolver()
            java.lang.String r2 = "screen_off_timeout"
            java.lang.String r1 = android.provider.Settings.System.getString(r1, r2)
            a(r0, r1)
            com.whiteops.sdk.a r0 = bq
            java.lang.String r1 = "http.proxyHost"
            java.lang.String r1 = java.lang.System.getProperty(r1)
            java.lang.String r1 = java.lang.String.valueOf(r1)
            a(r0, r1)
            com.whiteops.sdk.a r0 = br
            java.lang.String r1 = "http.proxyPort"
            java.lang.String r1 = java.lang.System.getProperty(r1)
            java.lang.String r1 = java.lang.String.valueOf(r1)
            a(r0, r1)
            com.whiteops.sdk.a r0 = bs
            java.lang.String r1 = "http.proxyUser"
            java.lang.String r1 = java.lang.System.getProperty(r1)
            java.lang.String r1 = java.lang.String.valueOf(r1)
            a(r0, r1)
            com.whiteops.sdk.a r0 = bt
            java.lang.String r1 = "http.nonProxyHosts"
            java.lang.String r1 = java.lang.System.getProperty(r1)
            java.lang.String r1 = java.lang.String.valueOf(r1)
            a(r0, r1)
            com.whiteops.sdk.a r0 = bu
            java.lang.String r1 = "http.agent"
            java.lang.String r1 = java.lang.System.getProperty(r1)
            java.lang.String r1 = java.lang.String.valueOf(r1)
            a(r0, r1)
            com.whiteops.sdk.a r0 = bv
            java.lang.String r1 = "socksProxyHost"
            java.lang.String r1 = java.lang.System.getProperty(r1)
            java.lang.String r1 = java.lang.String.valueOf(r1)
            a(r0, r1)
            com.whiteops.sdk.a r0 = bw
            java.lang.String r1 = "socksProxyPort"
            java.lang.String r1 = java.lang.System.getProperty(r1)
            java.lang.String r1 = java.lang.String.valueOf(r1)
            a(r0, r1)
            com.whiteops.sdk.a r0 = bx
            java.lang.String r1 = "socksProxyVersion"
            java.lang.String r1 = java.lang.System.getProperty(r1)
            java.lang.String r1 = java.lang.String.valueOf(r1)
            a(r0, r1)
            com.whiteops.sdk.a r0 = by
            java.lang.String r1 = "java.net.socks.username"
            java.lang.String r1 = java.lang.System.getProperty(r1)
            java.lang.String r1 = java.lang.String.valueOf(r1)
            a(r0, r1)
            com.whiteops.sdk.a r0 = bG
            java.lang.String r1 = "os.arch"
            java.lang.String r1 = java.lang.System.getProperty(r1)
            a(r0, r1)
            com.whiteops.sdk.a r0 = bH
            java.lang.String r1 = "os.name"
            java.lang.String r1 = java.lang.System.getProperty(r1)
            a(r0, r1)
            com.whiteops.sdk.a r0 = bI
            java.lang.String r1 = "os.version"
            java.lang.String r1 = java.lang.System.getProperty(r1)
            a(r0, r1)
            android.telephony.TelephonyManager r0 = q
            if (r0 == 0) goto L_0x0de8
            com.whiteops.sdk.a r0 = M
            android.telephony.TelephonyManager r1 = q
            int r1 = r1.getNetworkType()
            java.lang.Integer r1 = java.lang.Integer.valueOf(r1)
        L_0x0de4:
            a(r0, r1)
            goto L_0x0ded
        L_0x0de8:
            com.whiteops.sdk.a r0 = M
            java.lang.String r1 = "ERROR"
            goto L_0x0de4
        L_0x0ded:
            android.telephony.TelephonyManager r0 = q
            if (r0 == 0) goto L_0x0dfd
            com.whiteops.sdk.a r0 = N
            android.telephony.TelephonyManager r1 = q
            java.lang.String r1 = r1.getSimOperatorName()
        L_0x0df9:
            a(r0, r1)
            goto L_0x0e02
        L_0x0dfd:
            com.whiteops.sdk.a r0 = N
            java.lang.String r1 = "ERROR"
            goto L_0x0df9
        L_0x0e02:
            android.telephony.TelephonyManager r0 = q
            if (r0 == 0) goto L_0x0e16
            com.whiteops.sdk.a r0 = O
            android.telephony.TelephonyManager r1 = q
            int r1 = r1.getPhoneType()
            java.lang.Integer r1 = java.lang.Integer.valueOf(r1)
        L_0x0e12:
            a(r0, r1)
            goto L_0x0e1b
        L_0x0e16:
            com.whiteops.sdk.a r0 = O
            java.lang.String r1 = "ERROR"
            goto L_0x0e12
        L_0x0e1b:
            android.telephony.TelephonyManager r0 = q
            if (r0 == 0) goto L_0x0e2b
            com.whiteops.sdk.a r0 = Q
            android.telephony.TelephonyManager r1 = q
            java.lang.String r1 = r1.getNetworkOperatorName()
        L_0x0e27:
            a(r0, r1)
            goto L_0x0e30
        L_0x0e2b:
            com.whiteops.sdk.a r0 = Q
            java.lang.String r1 = "ERROR"
            goto L_0x0e27
        L_0x0e30:
            android.telephony.TelephonyManager r0 = q
            if (r0 == 0) goto L_0x0e40
            com.whiteops.sdk.a r0 = R
            android.telephony.TelephonyManager r1 = q
            java.lang.String r1 = r1.getSimCountryIso()
        L_0x0e3c:
            a(r0, r1)
            goto L_0x0e45
        L_0x0e40:
            com.whiteops.sdk.a r0 = R
            java.lang.String r1 = "ERROR"
            goto L_0x0e3c
        L_0x0e45:
            android.telephony.TelephonyManager r0 = q
            if (r0 == 0) goto L_0x0e55
            com.whiteops.sdk.a r0 = P
            android.telephony.TelephonyManager r1 = q
            java.lang.String r1 = r1.getNetworkOperator()
        L_0x0e51:
            a(r0, r1)
            goto L_0x0e5a
        L_0x0e55:
            com.whiteops.sdk.a r0 = P
            java.lang.String r1 = "ERROR"
            goto L_0x0e51
        L_0x0e5a:
            int r0 = h
            r1 = 26
            if (r0 < r1) goto L_0x0e84
            android.telephony.TelephonyManager r0 = q
            if (r0 == 0) goto L_0x0e7f
            boolean r0 = l
            if (r0 != 0) goto L_0x0e72
            boolean r0 = m
            if (r0 == 0) goto L_0x0e6d
            goto L_0x0e72
        L_0x0e6d:
            com.whiteops.sdk.a r0 = S
            java.lang.String r1 = "NO_PERMISSION"
            goto L_0x0e88
        L_0x0e72:
            com.whiteops.sdk.a r0 = S
            android.telephony.TelephonyManager r1 = q
            boolean r1 = r1.isDataEnabled()
            java.lang.Boolean r1 = java.lang.Boolean.valueOf(r1)
            goto L_0x0e88
        L_0x0e7f:
            com.whiteops.sdk.a r0 = S
            java.lang.String r1 = "ERROR"
            goto L_0x0e88
        L_0x0e84:
            com.whiteops.sdk.a r0 = S
            java.lang.String r1 = "UNKNOWN"
        L_0x0e88:
            a(r0, r1)
            android.telephony.TelephonyManager r0 = q
            if (r0 == 0) goto L_0x0e9f
            com.whiteops.sdk.a r0 = ck
            android.telephony.TelephonyManager r1 = q
            int r1 = r1.getSimState()
            java.lang.Integer r1 = java.lang.Integer.valueOf(r1)
        L_0x0e9b:
            a(r0, r1)
            goto L_0x0ea4
        L_0x0e9f:
            com.whiteops.sdk.a r0 = ck
            java.lang.String r1 = "ERROR"
            goto L_0x0e9b
        L_0x0ea4:
            boolean r0 = n
            if (r0 == 0) goto L_0x0ee5
            android.net.wifi.WifiManager r0 = r
            if (r0 == 0) goto L_0x0ee0
            android.net.wifi.WifiManager r0 = r
            boolean r0 = r0.isWifiEnabled()
            if (r0 == 0) goto L_0x0edb
            android.net.wifi.WifiManager r0 = r
            android.net.wifi.WifiInfo r0 = r0.getConnectionInfo()
            if (r0 == 0) goto L_0x0ed6
            android.net.wifi.SupplicantState r1 = r0.getSupplicantState()
            android.net.NetworkInfo$DetailedState r1 = android.net.wifi.WifiInfo.getDetailedStateOf(r1)
            android.net.NetworkInfo$DetailedState r2 = android.net.NetworkInfo.DetailedState.CONNECTED
            if (r1 == r2) goto L_0x0ecc
            android.net.NetworkInfo$DetailedState r2 = android.net.NetworkInfo.DetailedState.OBTAINING_IPADDR
            if (r1 != r2) goto L_0x0eec
        L_0x0ecc:
            com.whiteops.sdk.a r1 = aJ
            java.lang.String r0 = r0.getSSID()
            a(r1, r0)
            goto L_0x0eec
        L_0x0ed6:
            com.whiteops.sdk.a r0 = aJ
            java.lang.String r1 = "NULL"
            goto L_0x0ee9
        L_0x0edb:
            com.whiteops.sdk.a r0 = aJ
            java.lang.String r1 = "UNKNOWN"
            goto L_0x0ee9
        L_0x0ee0:
            com.whiteops.sdk.a r0 = aJ
            java.lang.String r1 = "ERROR"
            goto L_0x0ee9
        L_0x0ee5:
            com.whiteops.sdk.a r0 = aJ
            java.lang.String r1 = "NO_PERMISSION"
        L_0x0ee9:
            a(r0, r1)
        L_0x0eec:
            boolean r0 = n
            if (r0 == 0) goto L_0x0f2d
            android.net.wifi.WifiManager r0 = r
            if (r0 == 0) goto L_0x0f25
            android.net.wifi.WifiManager r0 = r
            boolean r0 = r0.isWifiEnabled()
            if (r0 == 0) goto L_0x0f1d
            android.net.wifi.WifiManager r0 = r
            android.net.wifi.WifiInfo r0 = r0.getConnectionInfo()
            if (r0 == 0) goto L_0x0f16
            android.net.wifi.SupplicantState r0 = r0.getSupplicantState()
            android.net.NetworkInfo$DetailedState r0 = android.net.wifi.WifiInfo.getDetailedStateOf(r0)
            com.whiteops.sdk.a r1 = aK
            java.lang.String r0 = r0.toString()
            a(r1, r0)
            return
        L_0x0f16:
            com.whiteops.sdk.a r0 = aK
            r1 = 0
            a(r0, r1)
            return
        L_0x0f1d:
            com.whiteops.sdk.a r0 = aK
            java.lang.String r1 = "UNKNOWN"
            a(r0, r1)
            return
        L_0x0f25:
            com.whiteops.sdk.a r0 = aK
            java.lang.String r1 = "ERROR"
            a(r0, r1)
            return
        L_0x0f2d:
            com.whiteops.sdk.a r0 = aK
            java.lang.String r1 = "NO_PERMISSION"
            a(r0, r1)
            return
        */
        throw new UnsupportedOperationException("Method not decompiled: com.whiteops.sdk.WOInspector.b():void");
    }

    public static void decision(JSONObject jSONObject) {
        if (!j) {
            boolean z2 = true;
            j = true;
            if (h < 21) {
                return;
            }
            if (a == null) {
                throw new Exception("No CI given. SDK WILL NOT WORK");
            } else if (e != null) {
                b = jSONObject;
                g = new d();
                String string = e.getSharedPreferences("WOInspector", 0).getString("wossid", "");
                f = string;
                if (!string.equals("")) {
                    byte[] decode = Base64.decode(f, 0);
                    byte[] bytes = "wossid".getBytes();
                    byte[] bArr = new byte[decode.length];
                    for (int i2 = 0; i2 < decode.length; i2++) {
                        bArr[i2] = (byte) (decode[i2] ^ bytes[i2 % bytes.length]);
                    }
                    f = new String(bArr);
                }
                if (f.equals("")) {
                    f = UUID.randomUUID().toString();
                    SharedPreferences.Editor edit = e.getSharedPreferences("WOInspector", 0).edit();
                    byte[] bytes2 = f.getBytes();
                    byte[] bytes3 = "wossid".getBytes();
                    byte[] bArr2 = new byte[bytes2.length];
                    for (int i3 = 0; i3 < bytes2.length; i3++) {
                        bArr2[i3] = (byte) (bytes2[i3] ^ bytes3[i3 % bytes3.length]);
                    }
                    edit.putString("wossid", Base64.encodeToString(bArr2, 0));
                    edit.apply();
                }
                k = e.checkCallingOrSelfPermission("android.permission.INTERNET") == 0;
                l = e.checkCallingOrSelfPermission("android.permission.ACCESS_NETWORK_STATE") == 0;
                m = e.checkCallingOrSelfPermission("android.permission.MODIFY_PHONE_STATE") == 0;
                if (e.checkCallingOrSelfPermission("android.permission.ACCESS_WIFI_STATE") != 0) {
                    z2 = false;
                }
                n = z2;
                if (k) {
                    o = (AudioManager) e.getSystemService(MimeTypes.BASE_TYPE_AUDIO);
                    p = (PowerManager) e.getSystemService("power");
                    q = (TelephonyManager) e.getSystemService("phone");
                    r = (WifiManager) e.getSystemService("wifi");
                    s = e.getApplicationInfo();
                    t = e.getPackageManager();
                    u = (KeyguardManager) e.getSystemService("keyguard");
                    g.a();
                    return;
                }
                throw new Exception("APP don't have internet access permission. SDK WILL NOT WORK");
            } else {
                throw new Exception("No Application Context given. SDK WILL NOT WORK");
            }
        }
    }

    public static void setBridgeURL(URL url) {
        c = url.toString();
    }

    public static void setCI(String str) {
        if (a == null) {
            a = str;
        }
    }

    public static void setProxyOrigin(URL url) {
        d = url.toString();
    }

    public static void start(Context context) {
        if (context instanceof Application) {
            e = context;
            return;
        }
        throw new Exception("No Application Context given. SDK WILL NOT WORK");
    }
}
